1👍
✅
Every django app needs a Site
to run, So
write in django shell
$> ./manage.py shell
>>> from django.contrib.sites.models import Site
>>> site = Site()
>>> site.domain = 'example.com'
>>> site.name = 'example.com'
>>> site.save()
Source:stackexchange.com