Lessons about Django (page 2)
The links, tools and tips our engineers and designers share with each other, one “today I learned” at a time.
- lessons shared
- 288
- people sharing
- 29
- database started in
- 2016










Tech Insights· github.com
django-readers: a lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects
Shared by
Read on github.com- Django

gist.github.com
Custom checks using Django check framework, inspect and ast:
Custom django checks using Django check framework, inspect and ast. - custom_django_checks.py
Flavio Juvenal

Tech Insights· gist.github.com
Custom checks using Django check framework, inspect and ast:
From gist.github.com
Custom django checks using Django check framework, inspect and ast. - custom_django_checks.py
Shared by
Read on gist.github.com- Django

dabapps.com
Programming and Cognitive Load, with a Django REST Framework example:
This post is about how we can take inspiration from cognitive psychology in order to write better code.
Flavio Juvenal

Tech Insights· dabapps.com
Programming and Cognitive Load, with a Django REST Framework example:
From dabapps.com
This post is about how we can take inspiration from cognitive psychology in order to write better code.
Shared by
Read on dabapps.com- Cognitiveload
- Django
- Drf
- Psychology
- Python
- Link offline
djangotricks.blogspot.com · offline
Django Generic Functionality without Generic Relations:
Flavio Juvenal
Link offlineTech Insights· djangotricks.blogspot.com
Django Generic Functionality without Generic Relations:
Shared by
The original link on djangotricks.blogspot.com is no longer available.
Look for it on the Wayback Machine- Django
- ORM


Tech Insights· docs.djangoproject.com
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
Shared by
Read on docs.djangoproject.com- Django
- Django Orm


Tech Insights· github.com
django-raw-sugar: Turns your raw SQL into a QuerySet.
Shared by
Read on github.com- Django
- ORM
- Performance
- Queryset
- SQL

baserow.io
How Baserow lets users generate Django models on the fly:
Baserow generates Django models dynamically to mutate user data. Learn how and why we do this at Baserow.
Flavio Juvenal

Tech Insights· baserow.io
How Baserow lets users generate Django models on the fly:
From baserow.io
Baserow generates Django models dynamically to mutate user data. Learn how and why we do this at Baserow.
Shared by
Read on baserow.io- Django
- Model
- ORM

andrewbrookins.com
How Does Django's StreamingHttpResponse Work, Exactly?
This post tries to explain just what goes on when you use Django’s StreamingHttpResponse.
Flavio Juvenal

Tech Insights· andrewbrookins.com
How Does Django's StreamingHttpResponse Work, Exactly?
From andrewbrookins.com
This post tries to explain just what goes on when you use Django’s StreamingHttpResponse.
Shared by
Read on andrewbrookins.com- Django
- Generator
- Http
- Performance

andrewbrookins.com
Using a Replica Router in Django to read your own writes - Scaling Django with Postgres Read Replicas:
Replication is a feature of PostgreSQL that you typically use to achieve high availability by running copies of a database that are ready to take over if you...
Flavio Juvenal

Tech Insights· andrewbrookins.com
Using a Replica Router in Django to read your own writes - Scaling Django with Postgres Read Replicas:
From andrewbrookins.com
Replication is a feature of PostgreSQL that you typically use to achieve high availability by running copies of a database that are ready to take over if you...
Shared by
Read on andrewbrookins.com- Django
- PostgreSQL
- Replica
- Scaling

github.com
Django pagination based on the seek method / keyset paging / offset-less pagination:
:cyclone: Pagination based on the seek method / keyset paging / offset-less pagination - nitely/django-infinite-scroll-pagination
Flavio Juvenal

Tech Insights· github.com
Django pagination based on the seek method / keyset paging / offset-less pagination:
From github.com
:cyclone: Pagination based on the seek method / keyset paging / offset-less pagination - nitely/django-infinite-scroll-pagination
Shared by
Read on github.com- Django
- ORM
- Pagination
stackoverflow.com
How can I cast a DateField() + TimeField() to local time in a Django QuerySet?
Flavio Juvenal
Tech Insights· stackoverflow.com
How can I cast a DateField() + TimeField() to local time in a Django QuerySet?
Shared by
Read on stackoverflow.com- Datetime
- Django
- ORM
- PostgreSQL
- Timezone
Tech Insights· stackoverflow.com
DRF serializer to_representation is not called if field value is None
Shared by
Read on stackoverflow.com- Django
- Python

twitter.com
Python’s pickle can execute arbitrary code. If an attacker can get a pickle into your system, they can do anything they like!
🥒 Python’s pickle can execute arbitrary code. If an attacker can get a pickle into your system, they can do anything they like! But how could they?
Rebeca Sarai

Tech Insights· twitter.com
Python’s pickle can execute arbitrary code. If an attacker can get a pickle into your system, they can do anything they like!
From twitter.com
🥒 Python’s pickle can execute arbitrary code. If an attacker can get a pickle into your system, they can do anything they like! But how could they?
Shared by
Read on twitter.com- Django
- Python


Tech Insights· docs.djangoproject.com
How to make Django migrations that add unique fields:
Shared by
Read on docs.djangoproject.com- DB
- Django
- Migrations
- Uuid

docs.djangoproject.com
You can run EXPLAIN on a SQL query directly from a Django queryset:
Flavio Juvenal

Tech Insights· docs.djangoproject.com
You can run EXPLAIN on a SQL query directly from a Django queryset:
Shared by
Read on docs.djangoproject.com- DB
- Django
- Performance
Book a call
Found it useful?
Let’s put it to work.
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



