FeaturedA Plan Comes TogetherAndrew Godwin merged his migrations branch into Django master. This means, barring some horrible problem, we'll be seeing it in the 1.7 release of Django. Congratulations to Andrew on his monumental effort and getting this common Django complaint resolved. Classy Class Based ViewsWe've featured this site in a past newsletter, but since then it has been updated and now even includes a hierarchical diagram of each view. This documentation is critical for anybody moving beyond the basics with CBV. On the other hand, Adrian Holovaty recommends staying away from CBV altogether . Ada Initiative FundraiserNot really Django related ( although Jacob Kaplan-Moss just completed a $5k matching donation campaign ), but something that is important to our community. The Ada Initiative supports women in open technology and culture and is only $5k off of their fundraising goal for the year. Join us in helping them make it to $100k! Web Design Tips & News Right to Your Inbox
Links of InterestNew Django Round-up PodcastsTwo more Django Round-up podcasts are out. These feature Julia Elman , designer and Django developer, and Steve Holden , organizer of DjangoCon US (which kicks-off next week). Building a Hacker News clone in Django - Part 4Arun Ravindran's fourth and final installment in the series. This one covering AJAX, Mixins and writing a ranking algorithm. If you've enjoyed Arun's series, consider checking out his upcoming book, Building a Social News Site in Django . Model Mixin to Save Only Changed FieldsBy default, Django's ORM saves every field on a model on every save. There are certain times when that isn't desirable. This little snippet gives you a model which only saves the fields that have changed back to the database. Using Django with MVC JavaScript FrameworksA talk recorded from Boston's Django Meetup group recently. Embedly CEO and co-founder, Sean Creeley, explains how to plug Ember.js into a Django site and what they learned in the process of doing it at Embedly. Raspberry IO Open SourcedThe source code for raspberry.io , a site funded by the PSF to help people learn about Python and the Raspberry Pi micro-computer was recently open-sourced by Caktus Group. The code is up on GitHub and is a nice example of how to build a site with Django (and the Mezzanine CMS). Control Your Laptop with Android, Python, Twisted, and DjangoA fun little side project connecting Android to D-Bus on a Linux laptop to control it's music player. It's cobbled together with lots of different bits including a Django web server and a communication bus built using Twisted. Building an Activity Feed with Eventlog
The latest GoDjango screencast, shows you how to build the ubiquitous activity feed using the open source
Asynchronous Testing with Django and PyVowsPyVows is a port of the popular Node.js testing framework, vows . This post describes how to plug PyVows into your Django site and use it to parallelize Selenium tests, which can be excruciatingly slow to run sequentially. Testing in Django (part 2) - Model Mommy vs. Django Testing Fixtures
Using the
Django-compressor, LESS, and Collectstatic
A quick tip on how to get
Practical HTTP Host header attacks
There's been a couple of Django security releases around Host header issues recently. If you've bumped into the
New & Updated Packages
|
Django Round-Up #16
By Django Round-Up on