Re: django.db.utils.OperationalError: no such table abc

2021-10-24 Thread David Nugent
On Fri, Oct 22, 2021 at 7:09 AM Ammon Quackenbush wrote: > I think you are right. I did delete the initial migration. How do I > restore the initial migration? > > Can't you restore it from your git repo? If you're not running any sort of version control you've just hit the reason why doing so i

Re: django.db.utils.OperationalError: no such table abc

2021-10-22 Thread Lakshyaraj Dash X-D 25
appen if you have deleted the initial migration or check your >>>> settings properly. >>>> >>>> On Thu, Oct 21, 2021, 04:21 Ammon Quackenbush >>>> wrote: >>>> >>>>> I am working on a django project and I am getting this error

Re: django.db.utils.OperationalError: no such table abc

2021-10-22 Thread MR INDIA
t; >>>> I am working on a django project and I am getting this error when I >>>> attempt to run the "python manage.py makemigrations" command: >>>> >>>> django.db.utils.OperationalError: no such table: myApp_tableStatus >>>> >

Re: django.db.utils.OperationalError: no such table abc

2021-10-21 Thread Lakshyaraj Dash X-D 25
, 04:21 Ammon Quackenbush wrote: >> >>> I am working on a django project and I am getting this error when I >>> attempt to run the "python manage.py makemigrations" command: >>> >>> django.db.utils.OperationalError: no such table: myApp_tableStatu

Re: django.db.utils.OperationalError: no such table abc

2021-10-21 Thread Ammon Quackenbush
Thu, Oct 21, 2021, 04:21 Ammon Quackenbush wrote: > >> I am working on a django project and I am getting this error when I >> attempt to run the "python manage.py makemigrations" command: >> >> django.db.utils.OperationalError: no such table: myApp_tab

Re: django.db.utils.OperationalError: no such table abc

2021-10-20 Thread Lakshyaraj Dash X-D 25
ns" command: > > django.db.utils.OperationalError: no such table: myApp_tableStatus > > The table tableStatus exists in my models.py. > > Any ideas what I can do to fix this problem? > > I tried deleting my virtual environment and creating a new one but that > did not make a difference.

django.db.utils.OperationalError: no such table abc

2021-10-20 Thread Ammon Quackenbush
I am working on a django project and I am getting this error when I attempt to run the "python manage.py makemigrations" command: django.db.utils.OperationalError: no such table: myApp_tableStatus The table tableStatus exists in my models.py. Any ideas what I can do to fix this p

Re: django.db.utils.OperationalError: no such table:

2019-09-10 Thread ANi
You have to look into your previous migrations, to find the problem find which migration you are stuck on from console log or, if it doesn't matter to you, kill all the migrations and start over. (it is the fastest way) Arnav Rastogi於 2019年9月7日星期六 UTC+8下午9時00分34秒寫道: > > 1. i remove the db.sqlit

Re: django.db.utils.OperationalError: no such table:

2019-09-10 Thread Arnav Rastogi
This is outdated command , there is no such command like syncdb in Django 2.2 On Sat, Sep 7, 2019, 7:44 PM Suraj Thapa FC wrote: > 1. python manage.py migrate - - run-syncdb > > On Sat, 7 Sep, 2019, 6:30 PM Arnav Rastogi, wrote: > >> 1. i remove the db.sqlite file and pycache >> >> 2. re run th

Re: django.db.utils.OperationalError: no such table:

2019-09-07 Thread Suraj Thapa FC
1. python manage.py migrate - - run-syncdb On Sat, 7 Sep, 2019, 6:30 PM Arnav Rastogi, wrote: > 1. i remove the db.sqlite file and pycache > > 2. re run the makemigrations and migrate command > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" gr

django.db.utils.OperationalError: no such table:

2019-09-07 Thread Arnav Rastogi
1. i remove the db.sqlite file and pycache 2. re run the makemigrations and migrate command -- 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+unsu

Re: django.db.utils.OperationalError: no such table: user_user

2019-03-08 Thread cyril moreau
vatar'), max_length=30, blank=True, >>> null=True) >>> #models.ImageField(upload_to='avatars/', null=True, blank=True) >>> >>> objects = UserManager() >>> >>> USERNAME_FIELD = 'email' >>>REQUIRE

Re: django.db.utils.OperationalError: no such table: user_user

2019-03-08 Thread Nasir Ahmad
#models.ImageField(upload_to='avatars/', null=True, blank=True) >> >> objects = UserManager() >> >> USERNAME_FIELD = 'email' >>REQUIRED_FIELDS = [] >> >> class Meta: >> verbose_name = _('user') >>

Re: django.db.utils.OperationalError: no such table: user_user

2019-03-07 Thread cyril moreau
gt; > settings.py > AUTH_USER_MODEL = 'user.User' > > > When i want to create a superuser and enter the email of the user i want > to create : > python manage.py createsuperuser > > > I get the following error : > django.db.utils.OperationalError: no such

django.db.utils.OperationalError: no such table: user_user

2019-03-07 Thread cyril moreau
AME_FIELD = 'email' REQUIRED_FIELDS = [] class Meta: verbose_name = _('user') verbose_name_plural = _('users') settings.py AUTH_USER_MODEL = 'user.User' When i want to create a superuser and enter the email of the user i want to c