It seems when django runs the make migrations procedure, if there are no migrations to make,
it does not create a migrate file, I'm not sure if this is because there is nothing to migrate,
subsequently nothing to report, so no folder or reports get generated.
this is big assumption of mine, i am new to django, it really needs a django expert to weigh in..
Best,
K
On 14 Aug 2019, at 19:18, RONAK JAIN <jainronak877@gmail.com> wrote:
Hey, could you delete your migrations files and again try to create makemigrations and migrate...ThanksOn Wed, Aug 14, 2019 at 11:45 PM Kean <keanld1@gmail.com> wrote:Hi,Thanks for response. I have tried to migrate several times.shell response from django is 'No migrations to apply"Not sure if this is a bug in Django?Best,KOn 14 Aug 2019, at 19:12, Tosin Ayoola <tosinayoola0@gmail.com> wrote:Did u do d python manage.py makemigrations, python manage.py migrate, that d main cause of diz type of errorsOn Aug 14, 2019 18:32, "Kean" <keanld1@gmail.com> wrote:Hi,I'm new to django and python.I created a database, but Every time I access my database on the backend, I get the no such column exists error.I cant understand how a column i didn't create, exists in the database, and is preventing dbase management.I have attached s.shot of the error.Im using the sqlite3 db with version django version 2.2.3
Please can anyone help with ID, root cause and fix?Best,Kean--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8c5e159a-a6b2-4cfb-acf9-5019a1a599ae%40googlegroups.com.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn72oj4MoXGCHpZj6S6QijMb7ixx-MREszxD8XHo3hptraA%40mail.gmail.com.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1B59D49C-B1DE-4475-88C7-2C521C5F0DF6%40gmail.com.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BAqMUdGs092Eq1Ba%2B0xs50Cq1Vmf%3DTacVBXzYHDMYvaGA%3DgRA%40mail.gmail.com.
No comments:
Post a Comment