Jurrian Tromp
Deep into Django

Deep into Django

Follow
homeDjangoAbout
Tag

Django

#django

More content

Read more stories on Hashnode


Articles with this tag

Managing superusers when using the Django admin as a backend for employees

Sep 4, 202321 views

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....

Managing superusers when using the Django admin as a backend for employees

Keeping accurate amounts in Django with CurrencyField

Jul 21, 202357 views

At Wundermart we started saving monetary amounts in Django, we naively started with DecimalField(decimal_places=2) for our financial data. After some...

Keeping accurate amounts in Django with CurrencyField

Diff mixin to detect changes in Django models instances

May 23, 2023164 views

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...

Diff mixin to detect changes in Django models instances

Show deleted entries in Django Simple History

Apr 24, 2023309 views

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...

Show deleted entries in Django Simple History

JWT Authentication class for python requests

Mar 13, 2023213 views

When using the requests library in Python you can use some built-in auth mechanisms like HTTPBasicAuth and HTTPDigestAuth. However, I could not find...

JWT Authentication class for python requests

Reducing queries for ForeignKeys in Django admin inlines

Jan 11, 2023834 views

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...

Reducing queries for ForeignKeys in Django admin inlines