Fixes to support Django 1.6

Should fix the issues with Django 1.6

Haven't managed to run your test suite (i'm missing some django-selenium linking package) but did a manual test with Django 1.6.5 using your blog/blog_post example and it works