Featured
Security releases issued: 1.8.3, 1.7.9, 1.4.21
A possible denial of service attack related to Django’s session framework was patched. If you’re using a third-party session framework, be sure it’s been updated as well.
Django Has a New Admin Theme
After years of discussion and false starts, Django’s admin finally got a visual refresh. It will be released in 1.9, but you can start using it today with django-flat-theme.
Happy 10th Birthday Django!
Here’s to 10 more years of Django!
High Performance Django
High Performance Django is the book we wish we had when we got started. It gives you a repeatable blueprint for building and deploying fast, scalable Django sites. Now available in print on Amazon! Pick up a copy today →
Links of Interest
Django Birthday: Recap
A wrap-up of Django’s 10th birthday celebration in its hometown of Lawrence, Kansas including links to videos and photos of the event.
Django Girls 1st Birthday
On the topic of birthdays, Django Girls recently celebrated their first year. It’s hard to believe it’s only been a year considering how much they’ve accomplished.
5 Reasons Why You Should Learn Django
Kenneth Love from Treehouse gives people that need convincing five reasons why Django is a great web framework to learn.
Asynchronous Tasks with Django and Celery
A super thorough post from Real Python on how to create periodic tasks in Django with Celery.
The uWSGI Swiss Army Knife
uWSGI is one of the more popular production webservers for Django, but did you know it includes caching, task queuing, and static file serving capabilities?
Django migrations without downtimes
Techniques to write and deploy migrations without causing table-locking events that can bring down a high-traffic production site.
Using Database Views in Django ORM
A database view is a useful construct for aggregating data at the database level. This post shows you how to interact with a view using Django’s ORM.
Functional Testing with Nightwatch, Django, and Docker
A slightly different approach to Selenium testing in Django using Node’s Nightwatch interface and Docker for parallelizing the tests.
Testing Django Views Without Using the Test Client
Using Django’s RequestFactory to get truer unit-style testing on Django views.
Dockerizing Django CMS
How to run DjangoCMS in multiple Docker containers and deploy them on a live server with Docker Machine.
Django and Python 3 How to Setup pyenv for Multiple Pythons
A GoDjango screencast on how to use pyenv to quickly switch between Python 2 and 3 development environments.
Bulk loading data into PostgreSQL
See how the California Civic Data Coalition used Postgres’ COPY feature to reduce CSV load times from over an hour to just 4 minutes.
Simple Django error logging configuration for Heroku
Out of the box, Django’s logging isn’t very useful on a service like Heroku that expects logs to be streamed to the console. Here’s a quick snippet to get your logs to behave.
API Authentication Django and Android Apps
Authenticate users coming from an Android App with Django REST Framework.
Testing Django project infrastructure failure tolerance
How does your app handle unpredicted infrastructure errors? In this post, Roberto Rosario introduces django-sabot, a library to help simulate hard-to-reproduce infrastructure-related errors.
New & Updated Packages
- django-yubikey-admin Two-Factor Auth for the admin with a Yubikey
- nplusone Automatic detection of excessive database queries
- django-q A queueing system with deep Django integration
- django-logutils Logging related utilities for Django
- django-musette A Django-based web forum