Wednesday, August 22, 2012

Re: django.db.utils.DatabaseError when resyncing django app models

On 23-8-2012 2:37, Mhlanga Bothin wrote:

> Thanks a lot for your help. I am not adding any classes to the app on
> the second sync, correct me if I am wrong but django only resyncs new
> classes?

Yes and no. The permissions are a special case, they are also updated if
you add permissions to a model's Meta class. Is there any difference at
all between the first and second sync? Or can you reproduce this with an
entirely empty database and just run syncdb twice in a row?

--
Melvyn Sopacua

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate