A quick fix to solve Django 1.5 and 1.6 compatibility issues

There are a lot of forks on this app, but you looked like the one with the one in pypi so I thought I would direct this towards you.  This just makes a few minor changes to make the app Django 1.6 compatible (and keeps the older url style so it should still work with older versions), that I have seen in a lot of the other forks.

Feel free to ignore