Monday, August 2, 2010

Re: through/unique_together usage

No MySQL. But I found a bit of docs saying that this behaviour is
expected: if you use through then that field cannot be automatically
added to the admin pages. It suggested using an inline in these cases
and that has worked, sort of :-).

In fact, I'm beginning to suspect that my model design may be a little
wrong-minded and am looking at alternatives. Thanks for your help.

On Jul 29, 4:04 pm, Shawn Milochik <sh...@milochik.com> wrote:
> Are you using sqlite3? It doesn't support the unique_together constraint.

--
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.

No comments:

Post a Comment