Compare queryset date object and list only today entries in Django Template... (more…)
Read more »
TIL that you can specify update_fields while saving a Django model to generate a leaner underlying SQL query. This yields better performance while updating multiple objects in a tight loop. To test that, I'm opening an IPython shell with python manage.py ... (more…)
Read more »
A Django tutorial series for complete beginners. A comprehensive guide covering all the basic aspects of Django models, views, templates, testing, admin. (more…)
Read more »