As say Stephen Butler you need to install django.contrib.sites (it not
enable by default) and set
SITE_ID = 1 in your settings.
Here is the reference:
https://docs.djangoproject.com/en/1.8/ref/contrib/sites/#enabling-the-sites-framework
--
"La utopía sirve para caminar" Fernando Birri
--
One of your other apps needs django.contrib.sites, so you need to put it in
your INSTALLED_APPS. That's what this means here:
Model class django.contrib.sites.models.Site doesn't declare an explicit
app_label and either *isn't in an application in INSTALLED_APPS* or else
was imported before its
I have installed Django (1.8), django-allauth (0.20.0) django-rest-auth
(0.4.0).
I added to INSTALLED_APPS in settings.py:
'rest_framework',
'rest_framework.authtoken',
'rest_auth'
'allauth',
'allauth.account',
'rest_auth.registration',
'allauth.socialaccount',
3 matches
Mail list logo