I'm trying to setup a relationship between two django models that is very similar to the model of a Pizza having many Toppings. However, I need to make sure that if a Pizza is created then only one Pepperoni topping can be added. The pizza could have the olive topping and onion topping, etc. But only one of each. Thanks for any help.
-- 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/-/dUlYUjnCLDkJ. 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.

