On Monday, 8 December 2014 07:23:33 UTC, Tobias Dacoir wrote:
>
> Hi,
>
> I'm having trouble with changes to my Models. I just added a couple of new 
> fields to my existing models but when I run manage makemigrations it says: 
> No changes detected. When I try to log in to the admin panel it gives an 
> operational error and says: No such column (because I added a column to my 
> user model). I have tried to get rid of this error using google and various 
> calls to makemigrations app_name or syncdb or whatever, but nothing helps. 
> I always have to delete my sqlite database file and start with a new DB. 
>
> Is this a limitation of sqlite or some bug in Django?
>

More likely to be something wrong with your code, unfortunately. This is 
explicitly the use case for migrations, and sqlite is a supported db, so it 
seems unlikely that it wouldn't work at all. You'll need to give more 
details, however: a set of repeatable steps starting from scratch, showing 
your initial models and migrations, the changes you made, the commands you 
ran, and the output.
--
DR.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/425c2c82-a1bc-4b51-a44e-caeaff28067d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to