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'] |
On Feb 13, 2016 9:42 PM, "ahmed waqas Nasir" <waqasn...@gmail.com> wrote:
>
> 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
Have you run 'manage.py makemigrations' to generate a new migration, and then run 'manage.py migrate'? It sounds like you haven't created a new migration file to apply after making your changes.
-James
On Feb 13, 2016 9:42 PM, "ahmed waqas Nasir" <waqasn...@gmail.com> wrote:
>
> 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 errorHave you run 'manage.py makemigrations' to generate a new migration, and then run 'manage.py migrate'? It sounds like you haven't created a new migration file to apply after making your changes.
-James
yes i did run makemigrations ... but i got following response .... no changes to apply