Finding previous posts
The archives page lists all posts ordered by most recently published.
The below are the most recent posts.
Recent Posts
-
Handling auto_now and auto_now_add with factory_boy
Django DateField’s auto_now and auto_now_add offer a convenient way to set default values. But this might get into the way when setting up test data.
Read more... -
How to enhance Django REST framework exception logging
Django and Django REST Framework come with nice defaults for logging errors. Still DRF provides some nice hooks for you to enhance your logs.
Read more... -
A singleton attempt with Django and factory_boy
Singleton is a popular object-oriented design pattern. This is an attempt to have a singleton-like behaviour with factory_boy for a Django model.
Read more... -
How to have Python show warnings when running Django
How to show warnings when running Python, and Django, during local development. The easy, yet not well known, way.
Read more...