I have created my models in django and run manage.py syncdb
Everything was ok, until I added a new model in an existing app. When I run syncdb
again, duplicated entries were inserted in auth_parmission
table. Even for entry log from "admin" app.
I made a test to remove the new model, drop the database, create an empty one and run syncdb
. This loaded my initial data from an existing fixture.
When I run "syncdb" again (without adding any new model), the same thing happened: duplicated entries were inserted in auth_permission
table.
Any explanation of what's happening and how to avoid those duplicated entries?
Thanks