Make sure you create the user objects in the database before loading the books data
On Fri, 23 Apr 2021 at 14:02, Nzekwe Isaac <[email protected]> wrote: > I think there's a problem with your database. Try deleting your dbsqlite > database and run migrations a again. > > On Fri, 23 Apr 2021, 12:50 Ejike Enyinnaya, <[email protected]> > wrote: > >> 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 >> >> >> On Wed, Apr 21, 2021 at 11:44 PM Nzekwe Isaac <[email protected]> wrote: >> >>> Try running makemigrations and migrations again before deploying again >>> >>> On Wed, 21 Apr 2021, 22:30 [email protected], <[email protected]> >>> wrote: >>> >>>> 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, >>>> >>>> -- >>>> 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 [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/django-users/287b1a3a-abc5-4848-ade7-2de414e7b549n%40googlegroups.com >>>> <https://groups.google.com/d/msgid/django-users/287b1a3a-abc5-4848-ade7-2de414e7b549n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/CACD%2B4V%3DPmh1OJbEYPW5u6vJG_aovPE-2vnHmwNGQrddbNjqHQg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-users/CACD%2B4V%3DPmh1OJbEYPW5u6vJG_aovPE-2vnHmwNGQrddbNjqHQg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CADe59C9cyhquav%2Be-%3Dgh59Kaj2xDeqmnUg0e4vHtJcX1VK8Ztg%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CADe59C9cyhquav%2Be-%3Dgh59Kaj2xDeqmnUg0e4vHtJcX1VK8Ztg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CACD%2B4VmnG7WD5%2BrJX7z0ZPjYZ9iPv6Ykc6QZw4Rb6aCDi39veA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CACD%2B4VmnG7WD5%2BrJX7z0ZPjYZ9iPv6Ykc6QZw4Rb6aCDi39veA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE0AZGKMpOoA6xHsA9j0iWy1X-8hqLM3yJm9rHDV%2BeN2DjJNNg%40mail.gmail.com.

