Let's talk!
Clients
Services
Blog
About us
Careers
Let's talk!
SOFTWARE
HOUSE
Clients
Insights
Blog
Learnings
Careers
About us
Contact us
Learnings
Boost your knowledge with the insights from our expert team.
accessibility
accessibility
agile
agile
ai
ai
api
api
architecture
architecture
aws
aws
career
career
celery
celery
communication
communication
concurrency
concurrency
css
css
data
data
database
database
db
db
debug
debug
design
design
design system
design system
development
development
devops
devops
django
django
docker
docker
documentation
documentation
figma
figma
frontend
frontend
git
git
html
html
javascript
javascript
js
js
leadership
leadership
management
management
metrics
metrics
ml
ml
orm
orm
performance
performance
postgres
postgres
process
process
product
product
product design
product design
python
python
react
react
redux
redux
research
research
security
security
software
software
sql
sql
sre
sre
test
test
testing
testing
tests
tests
typescript
typescript
ui
ui
ux
ux
web
web
workflow
workflow
<p>Django REST Framework quick security tips </p>
↗
https://cheatsheetseries.owasp.org/cheatsheets/Django_REST_Framework_Cheat_Sheet.html
Dennys Azevedo
Aug 4, 2023
Topics:
django, owasp, python, security
<p>You can use a Q object (and more) inside a get_object_or_404 call </p>
↗
https://stackoverflow.com/a/3046550
Renato Vieira
Aug 3, 2023
Topics:
django, python
<p>PostgreSQL Partitioning in Django: </p>
↗
https://pganalyze.com/blog/postgresql-partitioning-django
Rebeca Sarai
May 12, 2023
Topics:
django, postgres
<p>Speeding up a Django view </p>
↗
https://buttondown.email/blog/speeding-up-a-django-view
Raí Siqueira
Apr 27, 2023
Topics:
django
<p>Ban 1+N in Django: </p>
↗
https://suor.github.io/blog/2023/03/26/ban-1-plus-n-in-django/
Flavio Juvenal
Mar 31, 2023
Topics:
django, performance
<p>Django templates has a built-in complex tag that regroups a list of alike objects by a common attribute called <em>regroup.</em> You can use the <em><code>{% regroup %}</code></em> tag to group the list of cities by country: </p>
↗
https://docs.djangoproject.com/en/4.1/ref/templates/builtins/#regroup
Rebeca Sarai
Mar 22, 2023
Topics:
django, templates
<p>Django's bulk_create does not work with with child models in a multi-table inheritance scenario. </p>
↗
https://docs.djangoproject.com/en/3.2/ref/models/querysets/#bulk-create
Elton Morais
Mar 16, 2023
Topics:
bulk-create, django
<p>TIL: if you need to use both override_flag (django-waffle) and either django_assert_num_queries (pytest-django) or assertNumQueries (django testcase), make sure to have override_flags being put first or you'll end up tainting your number of queries assertion with those from flag value override</p>
↗
Carlos Coelho
Feb 9, 2023
Topics:
django, django-waffle, pytest, testing
<p>Django - filter(A).filter(B) vs filter(A, B) </p>
↗
https://www.hacksoft.io/blog/django-filter-chaining
Renato Vieira
Jan 18, 2023
Topics:
django, sql
<p>Cheatsheet to grouping queries in Django </p>
↗
https://hakibenita.com/django-group-by-sql
Tulio Lages
Jan 5, 2023
Topics:
db, django, haki, sql
<p>Django Field Deconstruction </p>
↗
https://docs.djangoproject.com/en/dev/howto/custom-model-fields/#field-deconstruction
Raí Siqueira
Dec 26, 2022
Topics:
django
<p>How to migrate models across apps in Django? </p>
↗
https://stackoverflow.com/a/30613732/145349
Flavio Juvenal
Dec 23, 2022
Topics:
db, django
<p>Django needs a <code>GinIndex</code> with <code>OpClass</code> + <code>Upper</code> to support fast queries with the <code>icontains</code> operator: </p>
↗
https://stackoverflow.com/a/51880653/145349
Flavio Juvenal
Oct 28, 2022
Topics:
db, django, index, postgres
<p>Clean architecture in Python </p>
↗
https://www.youtube.com/watch?v=18IqltQ4XE4
Jademir de Moura
Jul 22, 2022
Topics:
archtecture, django, pygotham
<p>Using window functions on Django ORM </p>
↗
https://stackoverflow.com/a/49237664/7391355
Renato Vieira
Jul 7, 2022
Topics:
django, orm, sql
<p>django-pgtrigger provides primitives for configuring Postgres triggers on Django models without raw SQL in many cases: </p>
↗
https://github.com/Opus10/django-pgtrigger
Flavio Juvenal
Jun 13, 2022
Topics:
django, orm, sql, trigger
<p>django-axes a plugin for keeping track of suspicious login attempts for your Django based website and implementing simple brute-force attack blocking: </p>
↗
https://github.com/jazzband/django-axes
Rebeca Sarai
Jun 7, 2022
Topics:
django, login, security
<p>django-readers: a lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects </p>
↗
https://github.com/dabapps/django-readers
Rebeca Sarai
May 16, 2022
Topics:
django
<p>Custom checks using Django check framework, inspect and ast: </p>
↗
https://gist.github.com/hakib/e2e50d41d19a6984dc63bd94580c8647
Flavio Juvenal
May 10, 2022
Topics:
django
<p>Programming and Cognitive Load, with a Django REST Framework example: </p>
↗
https://www.dabapps.com/blog/cognitive-load-programming/
Flavio Juvenal
Apr 27, 2022
Topics:
cognitiveload, django, drf, psychology, python
<p>Django Generic Functionality without Generic Relations: </p>
↗
https://djangotricks.blogspot.com/2022/04/generic-functionality-without-generic-relations.html
Flavio Juvenal
Apr 18, 2022
Topics:
django, orm
<p>Django has a built-in queryset method that allows you to have a dictionary map with a given value being the key and the matching instances the dict value </p>
↗
https://docs.djangoproject.com/en/dev/ref/models/querysets/#in-bulk
Carlos Coelho
Apr 5, 2022
Topics:
django, django orm
<p>django-raw-sugar: Turns your raw SQL into a QuerySet. </p>
↗
https://github.com/zxibizz/django-raw-sugar
Flavio Juvenal
Mar 25, 2022
Topics:
django, orm, performance, queryset, sql
<p>How Baserow lets users generate Django models on the fly: </p>
↗
https://baserow.io/blog/how-baserow-lets-users-generate-django-models
Flavio Juvenal
Mar 18, 2022
Topics:
django, model, orm
Next
Close Cookie Preference Manager
Cookie Settings
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts.
Check our privacy policies.
Strictly Necessary (Always Active)
Cookies required to enable basic website functionality.
Analytics
Cookies helping understand how this website performs, how visitors interact with the site, and whether there may be technical issues.
Marketing
Cookies used to deliver advertising that is more relevant to you and your interests.
Personalization
Cookies allowing the website to remember choices you make (such as your user name, language, or the region you are in).
Save settings
Accept all
We use Cookies to promote our services.
Settings and Privacy.
Accept