#python
Read more stories on Hashnode
Articles with this tag
Expiring a superuser in Django after a due date · Out-of-the-box Django comes with a superuser checkbox that can be set on each user in the admin....
At Wundermart we started saving monetary amounts in Django, we naively started with DecimalField(decimal_places=2) for our financial data. After some...
Suppose you change your Django model instance, how do you know if the data actually changed? There are a few ways to achieve this, for example using...
The django-simple-history package is awesome as it shows you all the activity on a certain Django model object. It allows seeing how it was mutated...
When using the requests library in Python you can use some built-in auth mechanisms like HTTPBasicAuth and HTTPDigestAuth. However, I could not find...
Use 93x less queries using patched raw_id_fields and prefetching · Speed up with raw_id_fields ForeignKeys in the Django admin show as a select-box...