Thanks. I tried that technique and doing so only let me add one topping to the pizza.
On Wednesday, January 16, 2013 4:12:49 PM UTC-7, Javier Guerra wrote: > > On Wed, Jan 16, 2013 at 5:46 PM, [email protected] <javascript:> < > [email protected] <javascript:>> wrote: > > The pizza could have the olive topping and onion topping, etc. But only > one > > of each. Thanks for any help. > > use an explicit 'through' table and set both foreignkeys as 'unique > together' on that table. > > > -- > Javier > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/xV5mnnJPLWUJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

