Featured
Bugfix release issued: 1.8.5
A handlful of bugs in the 1.8 release series have been resolved in the latest release.
Django 1.9 beta 1 released
1.9 brings a lot of new features including password validators, parallel tests, a Postgres JSON field, a new admin style and much more.
DSF announces winner of the 2015 Malcolm Tredinnick Memorial Prize
This years winner should come as no surprise to those of you who have been involved in the Django community over the last few years.
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. Pick up a copy today →
Links of Interest
Trying JSON in Django and PostgreSQL (and compare with MongoDB)
A thorough review of the new Postgres JSON functionality in the ORM and how it compares to using MongoDB.
Answers to Django Security Questions
Django gives you a ton of security benefits out of the box, but do you know what they are and why they’re important? This post will give you the answers.
Make a Django app insecure? It’s not easy!
Despite all the protection Django provides, it’s still possible to circumvent it with some bad practices.
A hidden gem in Django 1.7: ManifestStaticFilesStorage
Versioning static files can be a tricky problem, but Django has the functionality baked in in the form of ManifestStaticFilesStorage.
Profiling Python in Production
Details and code on how to CPU profile production services with negligible overhead. The data is used to provide flamegraphs to identify hot-spots.
Bulk Inserts Performance with Django and PostgreSQL
A comparison of different methods to insert lots of data into Postgres, from the ORM down to Postgres’ COPY functionality.
Deploying a Django App with No Downtime
One approach to deploying a Django service without taking the server down and dropping requests in the process.
Functional Context Values in Django
A nifty approach to adding global context processors without incurring expensive database queries on views where they are not used.
Rewriting a Flask app in Django
One person’s experience transitioning from Flask to Django.
How to Upload a Photo To Django Using iOS and Django Rest Framework
Sample Python and Objective-C code to get iOS devices talking to DRF for file uploads.
Django, SQLite, GLOB, CAST and sorting
Jumping through some hoops to get alphanumeric fields properly sorted coming out of a SQLite database.
Scheduled jobs with Celery, Django and Redis
Celery is commonly used to run jobs triggered by your web application. But did you know it also has a scheduler built, similar to cron? This post will show you how to use it.
LinkedIn Social Authentication in Django
A complete example of setting up python-social-auth with Django to authenticate against LinkedIn’s OAuth 2 endpoint.
Setting a testing/deployment pipeline for your Django app using Codeship and AWS CodeDeploy
Building an automated commit -> test -> deploy pipeline for Django applications.
Using Gabbi and Hypothesis to Test Django APIs
A different approach to testing leveraging a couple of newer Python testing libraries.
A Short Intro to Translating your Site with Django 1.8
Django has internationalization (i18n) support baked in. Here’s how to use it.
New & Updated Packages
- Saleor A Django e-commerce solution
- djdt-flamegraph Flamegraphs for Django Debug Toolbar
- django-netfields Native network (IP, MAC, CIDR) fields for Postgres
- waliki A git-backed wiki
- django-tagulous Fabulous tagging for Django
- django-trix Basecamp’s Trix editor as a Django widget