Happy Friday! Here's Django Round-up #4, hot off the presses...
Featured
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.
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.
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
Our own take on Django settings files and how to prevent using them to shoot yourself in the foot.
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.
A nice in-depth look at customizing the admin interface with some more advanced features.
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.
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.
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.
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
Jobs
Thanks for reading! Drop us a line and let us know what you thought. We want to make the next round-up even better!