github.com
Smart reversion of Django migrations based on Git diff:
Smart reversion of Django migrations based on Git diff - lorinkoz/django-unmigrate
Rebeca Sarai
The links, tools and tips our engineers and designers share with each other, one “today I learned” at a time.








github.com
Smart reversion of Django migrations based on Git diff - lorinkoz/django-unmigrate
Rebeca Sarai
Tech Insights· github.com
From github.com
Smart reversion of Django migrations based on Git diff - lorinkoz/django-unmigrate
Shared by
Tech Insights· medium.com
Shared by
Tech Insights· github.com
only()/defer() and select_related()/ prefetch_related()Shared by
valentinog.com
A cheat sheet of common testing recipes for Django applications.
Flavio Juvenal
Tech Insights· valentinog.com
From valentinog.com
A cheat sheet of common testing recipes for Django applications.
Shared by
testdriven.io
This article first provides an overview of Django's caching framework and then shows how to cache a Django view using both Memcached and Redis.
Gustavo Carvalho
Tech Insights· testdriven.io
From testdriven.io
This article first provides an overview of Django's caching framework and then shows how to cache a Django view using both Memcached and Redis.
Shared by
snyk.io
Learn some best practices for keeping your Django project secure.
Gustavo Carvalho
Tech Insights· snyk.io
From snyk.io
Learn some best practices for keeping your Django project secure.
Shared by
github.com
:shipit: Anonymize production data so it can be safely used in not-so-safe environments - Tesorio/django-anon
Gustavo Carvalho
Tech Insights· github.com
From github.com
:shipit: Anonymize production data so it can be safely used in not-so-safe environments - Tesorio/django-anon
Shared by
Tech Insights· krzysztofzuraw.com
Shared by
The original link on krzysztofzuraw.com is no longer available.
Look for it on the Wayback Machineadamj.eu
Imagine you have some Django views using the same two decorators:
Rebeca Sarai
Tech Insights· adamj.eu
From adamj.eu
Imagine you have some Django views using the same two decorators:
Shared by
docs.djangoproject.com
Pamella Bezerra
Tech Insights· docs.djangoproject.com
Shared by
Tech Insights· github.com
Shared by
adamj.eu
CheckConstraint class to constrain Field.choices:This post is a PSA on the somewhat unintuitive way Field.choices works in Django.
Flávio Juvenal
Tech Insights· adamj.eu
CheckConstraint class to constrain Field.choices:From adamj.eu
This post is a PSA on the somewhat unintuitive way Field.choices works in Django.
Shared by
adamj.eu
When you run Django’s manage.py makemigrations, it will try to generate a name for the migration based upon its contents. For example, if you are adding a single field, it will call the migration 0002_mymodel_myfield.py. However when your migration contains more than one step, it instead uses a simple ‘auto’ name with the current date + time, e.g. 0002_auto_20200113_1837.py. You can provide the -n/--name argument to makemigrations, but developers often forget this.
Flávio Juvenal
Tech Insights· adamj.eu
From adamj.eu
When you run Django’s manage.py makemigrations, it will try to generate a name for the migration based upon its contents. For example, if you are adding a single field, it will call the migration 0002_mymodel_myfield.py. However when your migration contains more than one step, it instead uses a simple ‘auto’ name with the current date + time, e.g. 0002_auto_20200113_1837.py. You can provide the -n/--name argument to makemigrations, but developers often forget this.
Shared by
revsys.com
I needed to structure permissions in an API view that had multiple user roles, and I learned about using the & (and), | (or) and ~ (not) operators with Django REST Framework permissions.
Flávio Juvenal
Tech Insights· revsys.com
From revsys.com
I needed to structure permissions in an API view that had multiple user roles, and I learned about using the & (and), | (or) and ~ (not) operators with Django REST Framework permissions.
Shared by
b-list.org
Once upon a time [I wrote a bit about testing](/weblog/2018/apr/02/testing-django/), specifically how I was organizing and testing my open-source Django …
Flávio Juvenal
Tech Insights· b-list.org
From b-list.org
Once upon a time [I wrote a bit about testing](/weblog/2018/apr/02/testing-django/), specifically how I was organizing and testing my open-source Django …
Shared by
Book a call
Tell us about your product and the problem in front of you. We’ll bring what we’ve learned on real projects.
Tell us about your product, and we’ll bring what we’ve learned.
Still prefer the good old email? Contact us



