i have made a model names STUDENT and when i run migrataion no migration applied but when from admin i tried to browse student i got following error
-- OperationalError at /admin/app/student/
no such table: app_student
Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1:8000/admin/app/student/ |
Django Version: | 1.9.2 |
Exception Type: | OperationalError |
Exception Value: | no such table: app_student |
Exception Location: | C:\Users\nauman malik\Google Drive\feedbacknew\feedbacknew\env\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 323 |
Python Executable: | C:\Users\nauman malik\Google Drive\feedbacknew\feedbacknew\env\Scripts\python.exe |
Python Version: | 2.7.10 |
Python Path: | ['C:\\Users\\nauman malik\\Google Drive\\feedbacknew\\feedbacknew', 'C:\\Windows\\SYSTEM32\\python27.zip', 'C:\\Users\\nauman malik\\Google Drive\\feedbacknew\\feedbacknew\\env\\DLLs', 'C:\\Users\\nauman malik\\Google Drive\\feedbacknew\\feedbacknew\\env\\lib', 'C:\\Users\\nauman malik\\Google Drive\\feedbacknew\\feedbacknew\\env\\lib\\plat-win', 'C:\\Users\\nauman malik\\Google Drive\\feedbacknew\\feedbacknew\\env\\lib\\lib-tk', 'C:\\Users\\nauman malik\\Google Drive\\feedbacknew\\feedbacknew\\env\\Scripts', 'C:\\Python27\\Lib', 'C:\\Python27\\DLLs', 'C:\\Python27\\Lib\\lib-tk', 'C:\\Users\\nauman malik\\Google Drive\\feedbacknew\\feedbacknew\\env', 'C:\\Users\\nauman malik\\Google Drive\\feedbacknew\\feedbacknew\\env\\lib\\site-packages'] |
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c9c387b4-a4ed-43ff-a02e-146a44023eda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment