Re: Data base connection problem

2017-04-17 Thread Chris Bartos
Few things you can do: 1. Check to make sure your app is in INSTALLED_APPS 2. Delete the migrations folder and run 'manage.py makemigrations' & 'manage.py migrate' again 3. depending on the name of the app (let's say student) you can try running 'manage.py makemigrations student'

Re: Data base connection problem

2016-02-15 Thread James Schneider
> > On Feb 13, 2016 9:42 PM, "ahmed waqas Nasir" 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, a

Re: Data base connection problem

2016-02-15 Thread namal . feedback
On Sunday, February 14, 2016 at 10:48:37 AM UTC+5, James Schneider wrote: > > > On Feb 13, 2016 9:42 PM, "ahmed waqas Nasir" > 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 erro

Re: Data base connection problem

2016-02-13 Thread James Schneider
On Feb 13, 2016 9:42 PM, "ahmed waqas Nasir" 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.p

Data base connection problem

2016-02-13 Thread ahmed waqas Nasir
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/ Djan