June 23, 2017 » Markus Holtermann » [Archived Version]
Usability is key in modern web applications. But we live in a dangerous world where websites get hacked. Thoughts on pros & cons.
Read MoreJune 14, 2017 » Thomas Loiret - Random thoughts » [Archived Version]
How to use the email as the user identifier and no longer use the username ?
Read MoreJune 9, 2017 » Thomas Loiret - Random thoughts » [Archived Version]
How to have a CSRF token in your function view's template ?
Read MoreJune 8, 2017 » Haki Benita » [Archived Version]
With great power comes great responsibility. The more powerful your Django admin is, the safer it should be. Making a Django admin safer and more secure doesn't have to be hard - you just have to pay attention. In this article I present 5 ways to protect the Django Admin from human errors and attackers.
Read MoreMay 30, 2017 » Thomas Loiret - Random thoughts » [Archived Version]
How can you control access to django media files ?
Read MoreApril 28, 2017 » Haki Benita » [Archived Version]
A rundown of all the ways you can use Prefetch to speed up queries in Django.
Read MoreApril 4, 2017 » Markus Holtermann » [Archived Version]
Database indexes are useful. But how do they work? And how does one use them in Django?
Read MoreApril 4, 2017 » Markus Holtermann » [Archived Version]
Database indexes are useful. But how do they work? And how does one use them in Django?
Read MoreMarch 30, 2017 » Haki Benita » [Archived Version]
Django Admin is a powerful tool for managing data in your app. However, it was not designed with summary tables and charts in mind. Luckily, the developers of Django Admin made it easy for us to customize. We are going to turn Django Admin into a dashboard by adding a chart and a summary table.
Read MoreFeb. 17, 2017 » Haki Benita » [Archived Version]
Django signals are extremely useful for decoupling modules. They allow a low-level Django app to send events for other apps to handle without creating a direct dependency. Signals are easy to set up, but harder to test. In this article we implement a context manager for testing Django signals, step by step.
Read More