Upgrade to Django 1.6, closes T16.