Featured
Django’s Roadmap
Based on the results of the community survey, a long-term release roadmap has been put in place. Extra effort was made to ease the upgrade burden on developers and third-party applications.
Django Software Foundation announces Diversity Statement
Following the Python belief that “explicit is better than implicit”, the DSF formalized a Diversity Statement that encourages and welcomes diversity in the Django community.
Security advisory: simple_tag does not do auto-escaping
Django tries to take every effort to shield developers from exploits such as cross-site scripting (XSS), but simple_tag does not follow that pattern. This will be changed in 1.9, but in the meantime, this post serves as an extra warning.
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
DjangoCon US 2015 Early Bird Deadline
The early-bird deadline for DjangoCon US in Austin, Texas has been extended and tickets are going fast. Grab yours before they’re gone.
Beyond Request-Response
Core developer Andrew Godwin recently made an ambitious proposal on how Django could be abstracted from the traditional request/response cycle, opening the door to true realtime capabilities.
Sane Password Strength Validation for Django with zxcvbn
Bad passwords can be a big security threat. With Dropbox’s zxcvbn library, this post shows you how to ensure your users use strong passwords.
Current Django Books
Django has been around long enough (10 years now!) that there’s a lot of out-dated information out there. Before you buy a Django book, check this list to see if it is up-to-date.
Upgrading Django Projects
Some tips on when and how to approach upgrading your projects to the latest version of Django.
Migrating to Django 1.8: a journey logbook
While the previous post sticks to the high-level of Django upgrades, this post goes into the specific changes YunoJuno needed to make to get their site running on 1.8.
Hypothesis for Django
The transcript (and video/slides) of a talk on how to use the new hypothesis testing library with Django. Also check out David’s post on using Hypothesis with Factory Boy.
Tutorial: How To Set Up a Contact Form With Django
A beginner’s tutorial on how to setup a contact form by Tracy Osborn, author of Hello Web App.
Using Django OneToOneFields to Create UserProfiles
OneToOneField s have some unexpected behaviors when you start working with them. This post shows a few ways to smooth out their interface.
DjangoCMS chosen for Ubuntu dev blog
Ubuntu’s developer portal moved from WordPress to DjangoCMS. This post explains the reasoning for the move, the decision to use DjangoCMS, and the hurdles they had to overcome to meet their requirements.
Social Auth with Django REST Framework
One approach to allowing users sign up and sign into your app using social auth (Facebook, Twitter, etc.) via a DRF API.
Azure AD in Django with Python Social Auth
More social auth! This time, implementing Azure’s Active Directory service, again with python-social-auth and, of course, Django.
Building an RSS feed for your Django content
Using Django’s django.contrib.syndication framework to build an RSS feed for your site.
JavaScript based charts in Django made easy with Chartkick application
chartkick is a Python module to simplify creating charts with Google’s chart API or Highchart. This post gives you a quick introduction on using it with Django.
New & Updated Packages
- django-safedelete A Model Mixin to keep deleted objects in the database
- django-slow-tests Identify the slowest tests in your suite
- django-jsonbfield A backport of 1.9’s native Postgres JSONField
- django-password-validation A backport of 1.9’s password validation functionality
- django-tenants Multi-tenant support via Postgres schemas