in the documentation the many to many relationship between toppings and pizzas is well presented (http://docs.djangoproject.com/en/dev/ topics/db/models/#many-to-many-relationships). My question has to do with something else that would have toppings, subs for example.
If in my toppings model, I've got my vendor, expected cost, minimum order qty, etc, my pizza I have a description, box size, and a price to customer. How would I integrate a 'subs' model which uses the same toppings model, but also has some special details only about subs. In my actual dilemma I'm converting an app to Django, and we have an 'address' table which stores the addresses for employees, vendors, customers, along with an effective date for the address (which allows us to hold the history of the addresses). In the previous app, I decided to go this route to have one bit of code that handled address validation. can I have a pizzas-pizzas-toppings and a subs-subs-toppings, as well as perhaps some other things that use the ingrediants eg: donairs- donairs-toppings? Is there something in the documentation or django book that covers this? I haven't found it as of yet but still digging. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---