Sunday, November 18, 2012

Django handles inheritance tables with entries in them plugged in?

To give an example:
I create a table "Library" in which I create 3 Libraries.
Then create a table "Author" in which three authors associate each of the three libraries created before, so far I can manage very well with ForeignKey ...
I then create another table "Book" which will specify the title of the book associating it with an author and a library. That said, you can make sure that if I select an item in the Library Author shows me only the three authors associated with the selected library?
to give you an idea if you notice http://www.autosupermarket.it/ selecting the brand from the menu, it displays only the models associated with the selected brand, the principle is the same except that applied to the database tables, the utility is very similar because I facilitates the inclusion of new items.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate