Re: Errors with django-rest-auth and django-allauth

2015-06-20 Thread Luis Zárate
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 --

Re: Errors with django-rest-auth and django-allauth

2015-06-20 Thread Stephen J. Butler
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

Errors with django-rest-auth and django-allauth

2015-06-20 Thread Daniel Grace
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',