Happy Friday! Here’s Django Round-up #4, hot off the presses…
Featured
Django Security Releases
These fix a few new issues reported to Django’s security team. One in particular requires the use of a new setting, ALLOWED_HOSTS. Be sure to read the announcement and upgrade your sites. Also note, the versions were bumped one more time due to a problem creating the packages.
Worldwide Sprint Feb 23
Join developers worldwide to hack on Django. Find a local meetup at the link above or participate via the #django-sprint channel on the Freenode IRC network. People of all skill sets and experience are encouraged to join. See the
contributing to Django section
of the docs for info on how to get started.
Getting Started with Django: Microblog Kitchen Sink
Kenneth Love, released the second lesson in his Django series. This one taking you through building a simple blog, using South, and pushing your site to Heroku. If you’re just learning, be sure to check it out!
Links of Interest
Django Settings Parity: You’re Doing it Wrong
Our own take on Django settings files and how to prevent using them to shoot yourself in the foot.
Entry Point Hook for Django Projects
Brian Rosner shows off a long-awaited, but not so heralded feature available in Django 1.4+. The
wsgi.py
file provides a reliable way to run code once (and only once) when a project starts-up.
Batch Image Upload with Drag & Drop in the Django Admin
A nice in-depth look at customizing the admin interface with some more advanced features.
Django Read Only Mode
Heroku’s Postgres guru, Craig Kerstiens, released a package, django-db-tools, to help you temporarily flip your site into read-only mode, allowing you to perform database maintenance or migrations. This is one I wish I had in the past.
In Defense of Copy & Paste
Be careful rallying behind DRY at all costs. This post shows some examples of when it can get you into trouble and how, sometimes, a simple copy/paste is better.
Django Unchained: An Introduction to Python and Django
Not exactly new, but new to me at least. A nice little intro to Django course, starting with the basics and moving through to more advanced topics such as natural language processing. The GitHub repo has some additional information.
Committers Needed for Tastypie and Haystack
Two of Django’s more popular open source applications are in need of support. If you are a user of Tastypie or Haystack, consider volunteering to make sure they are well supported in the future.
New & Updated Packages
- django-jsonview A simple view decorator to turn Python objects into JSON
- django-rest-framework The great REST framework just got better with version 2.2
- importd An interesting hack to make single-file Django sites
- django-parsley Client-side form validation with parsley.js
- django-view-as Middleware to let superusers view the site as a different user
Jobs
- Fulltime freelance Django developer at Beach.com
- Python platform engineer at Kwarter
- Lead developer at Architect
- Front-end developer at Instrument
Thanks for reading! Drop us a line and let us know what you thought. We want to make the next round-up even better!