Wednesday, July 31, 2013

Re: how to create a new table in existing app

On 31/07/2013 5:57pm, Mike Dewhirst wrote:
> I just defined a new many-to-many relationship in an existing table then
> manually defined the many-to-many table model.
>
> Unfortunately, syncdb didn't/wouldn't create the table for me. No
> errors, just no table!
>
> Is there a trick to it?

Yes. Just needed a "through" mention and syncdb worked. Was able to to
remove it later without consequences.

>
> Is South the answer?

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment