Hi Sameer,
Just make sure you have run python manage.py migrate after adjusting your models.py. I ran into that error and solved it by migration.
Kind Regards
Eric Bawakuno | Computer Engineer | +27795639700| +27 815152254 | ericbaw@gmail.com | Address: 29 Rochester Road, Observatory | Cape Town, South Africa | 7925
f
On Thu, May 20, 2021 at 3:10 PM Sharif Mehedi <sharifmehedi24@gmail.com> wrote:
--I do not see anything solvable there. Maybe soak it into water! :P .Maybe, it will help if you can provide us with a clue to whatever you are trying to do and the nature of the problem you are facing in trying in doing.On Thursday, May 20, 2021, 7:02:25 PM GMT+6, Sameer Gedam <samgedam0@gmail.com> wrote:OperationalError at /admin/products/product/add/no such table: main.auth_user__oldRequest Method:
POSTRequest URL:
http://127.0.0.1:8000/admin/products/product/add/Django Version:
2.0.7Exception Type:
OperationalErrorException Value:
no such table: main.auth_user__oldException Location:
C:\Users\user\.virtualenvs\trydjango-SjDXbmBR\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 303Python Executable:
C:\Users\user\.virtualenvs\trydjango-SjDXbmBR\Scripts\python.exePython Version:
3.9.5Python Path:
['C:\\Users\\user\\Dev\\trydjango\\src', 'c:\\python39\\python39.zip', 'c:\\python39\\DLLs', 'c:\\python39\\lib', 'c:\\python39', 'C:\\Users\\user\\.virtualenvs\\trydjango-SjDXbmBR', 'C:\\Users\\user\\.virtualenvs\\trydjango-SjDXbmBR\\lib\\site-packages']Server time:
Wed, 19 May 2021 16:51:46 +0000
--
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/f4b616e3-be6b-49d9-8d62-577e32d45121n%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/1572993905.688196.1621516160432%40mail.yahoo.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/CAFgqToUDYBXDemfjv%3DW9iCsR%2B83CnGETd38NeDi0vt%2BvjVPkpg%40mail.gmail.com.
No comments:
Post a Comment