django 1.6 fix for django-registration