if cls._meta.swapped:
raise AttributeError(
"Manager isn't available; '%s.%s' has been swapped for '%s'" % (
cls._meta.app_label,
cls._meta.object_name,
cls._meta.swapped,
)
)
from django.conf.urls import include, url
urlpatterns = [
# Other URL patterns ...
url(r'^accounts/', include('registration.backends.hmac.urls')),
# More URL patterns ...
]
You should not add registration to your INSTALLED_APPS setting if you’re following this document. This section is walking you through setup of the the HMAC activation workflow, and that does not make use of any custom models or other features which require registration to be in INSTALLED_APPS. Only add registration to your INSTALLED_APPS setting if you’re using the model-based activation workflow, or something derived from it.