Error After Heroku Deployment

180 views
Skip to first unread message

Sumit Pande

unread,
Dec 30, 2020, 9:48:37 AM12/30/20
to django...@googlegroups.com
ProgrammingError at /accounts/login/
relation "django_site" does not exist
LINE 1: ..."django_site"."domain", "django_site"."name" FROM "django_si...
                                                             ^
Request Method:  GET
Django Version:  3.1.1
Exception Type:  ProgrammingError
Exception Value:  
relation "django_site" does not exist
LINE 1: ..."django_site"."domain", "django_site"."name" FROM "django_si...
                                                             ^
 I have used allauth.

Please help me with this error.
IMG20201230134256_00.jpg

RANGA BHARATH JINKA

unread,
Dec 30, 2020, 10:14:32 AM12/30/20
to django...@googlegroups.com
Hi,

Run 
heroku run python manage.py makemigrations
 heroku run python manage.py migrate

All the best

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BPixk%2Bhk3-X3J4SsM%3Dz9az_KntBinoJNOPDWp8mdMf5Abr%2BGg%40mail.gmail.com.


--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

Sumit Pande

unread,
Dec 30, 2020, 10:16:02 AM12/30/20
to django...@googlegroups.com
Yes . I got the solution. Thanks

Reply all
Reply to author
Forward
0 new messages