Django1.4

The example doesn't work with the latest version of Django, this branch tries to fix that.