Deploying my Django App to Heroku

28 Aufrufe
Direkt zur ersten ungelesenen Nachricht

ejike....@gmail.com

ungelesen,
21.04.2021, 17:30:2421.04.21
an Django users
Good day All,

Please I am trying to deploy my App which uses Django/Python as the backend and React as the frontend to Heroku but I keep getting this error in the attached picture. 

Also attached is a screenshot of my Models.py.

I would be very grateful for any assistance.

Kind Regards,

Screenshot 2021-04-21 at 22.28.13.png
Screenshot 2021-04-21 at 22.26.41.png
Screenshot 2021-04-21 at 22.29.14.png

Nzekwe Isaac

ungelesen,
21.04.2021, 18:44:5921.04.21
an django...@googlegroups.com
Try running makemigrations and migrations again before deploying again

--
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/287b1a3a-abc5-4848-ade7-2de414e7b549n%40googlegroups.com.

Ejike Enyinnaya

ungelesen,
23.04.2021, 07:51:4823.04.21
an django...@googlegroups.com
Good day Isaac,

I ran makemigrations and migrate before deploy as seen in my screenshots but I am still having the same problem.

Find attached my screenshots.

Please what else should i look at?
BR,
Ejike Chiboka
08022224537; 08166516400


Screenshot 2021-04-23 at 12.44.34.png
Screenshot 2021-04-23 at 12.48.33.png

Nzekwe Isaac

ungelesen,
23.04.2021, 08:02:2723.04.21
an django...@googlegroups.com
I think there's a problem with your database. Try deleting your dbsqlite database and run migrations a again.

Ayser shuhaib

ungelesen,
23.04.2021, 08:11:0323.04.21
an django...@googlegroups.com
Make sure you create the user objects in the database before loading the books data 

Ejike Enyinnaya

ungelesen,
26.04.2021, 07:02:1826.04.21
an django...@googlegroups.com
Hi Ayser,

Would try that and give feedback.
BR,
Ejike Chiboka
08022224537; 08166516400

Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten