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'
>
> 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
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
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
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
5 matches
Mail list logo