What's new in Django community blogs?

Security and Ease-of-Use With Django Templates

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 More

Django authentication by email (no username)

June 14, 2017 » Thomas Loiret - Random thoughts » [Archived Version]

How to use the email as the user identifier and no longer use the username ?

Read More

Django 1.11, CSRF token, template & function view

June 9, 2017 » Thomas Loiret - Random thoughts » [Archived Version]

How to have a CSRF token in your function view's template ?

Read More

5 Ways to Make Django Admin Safer

June 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 More

All You Need To Know About Prefetching in Django

April 28, 2017 » Haki Benita » [Archived Version]

A rundown of all the ways you can use Prefetch to speed up queries in Django.

Read More

To Index Or Not, That’s Not The Questions

April 4, 2017 » Markus Holtermann » [Archived Version]

Database indexes are useful. But how do they work? And how does one use them in Django?

Read More

To Index Or Not, That’s Not The Questions

April 4, 2017 » Markus Holtermann » [Archived Version]

Database indexes are useful. But how do they work? And how does one use them in Django?

Read More

How to Turn Django Admin Into a Lightweight Dashboard

March 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 More

How to Test Django Signals Like a Pro

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