Re: OperationalError:no such table

2017-05-08 Thread Melvyn Sopacua
On Sunday 07 May 2017 03:54:39 hamza bouissi wrote: > after I add new model and delete all other models and their migration > files You still have a reference to one of the deleted models in your urls or a view that is referenced by that url. Also, this isn't the way to do it. First make a migr

Re: OperationalError:no such table

2017-05-07 Thread Felipe Brunelli de Andrade
Just check if the table exists in database! 2017-05-07 7:54 GMT-03:00 hamza bouissi : > after I add new model and delete all other models and their migration > files I ran makemigrations followed by migrate command, Unfortunately, I > got OperationalError: no such table > > > >

OperationalError:no such table

2017-05-07 Thread hamza bouissi
after I add new model and delete all other models and their migration files I ran makemigrations followed by migrate command, Unfortunately, I got OperationalError: no such table