[Fixed]-Django-allauth SITE_ID error

31👍

Adding “SITE_ID = 1” to your settings will get you past the exception
without having to add it to INSTALLED_APPS. It worked for me.

1👍

FYI. Enabling the sites framework has been changed in Django v1.6 see here for details…
https://docs.djangoproject.com/en/1.6/ref/contrib/sites/

Once you have added ‘django.contrib.sites’, to your INSTALLED_APPS then the domain will be created in the database, id = 1, domain = example.com, name = example.com.

Leave a comment