Looking for Django tutorial that illustrates master/detail data models

2,101 views
Skip to first unread message

ldm999

unread,
Dec 30, 2008, 8:22:09 PM12/30/08
to Django users
Eg:
Lists (books, movies, restaurants) and multiple items per list.

Web forms would allow user to:
- Add/change/delete lists
- Add/change/delete list items

TIA

Daniel Roseman

unread,
Dec 30, 2008, 9:02:12 PM12/30/08
to Django users
Have you actually read the tutorial on the Django site? The Poll
application covers exactly this.
--
DR.

ldm999

unread,
Dec 30, 2008, 9:44:57 PM12/30/08
to Django users
Thanks for your response.

I should have been more clear. I'm looking for examples of views/forms
to manage the children of a parent child model. Eg how to add/change/
delete a book on a book list.

I don't recall the Django tutorial covering this and I just looked
again. It appears to focus more on the Django Admin than on custom
forms. And what it does cover wrt forms seems mostly focused on a form
for a stand-alone model rather than the child of a prent model where
you need the context of the parent to make sure you add a new item to
the right parent, and edit/delete the correct item based on its
parent.

I'll take another detailed look at the official tutorial to see if
this is covered.

On Dec 30, 6:02 pm, Daniel Roseman <roseman.dan...@googlemail.com>
wrote:

Axil-Mar Imam

unread,
Feb 21, 2017, 8:18:19 PM2/21/17
to Django users
Hi. I wondering if you have found a way about your problem? Im actually researching on this problem as well, unfortunately, haven't found a solution to this. If you have, I would really appreciate if you share it. Thanks.

Matthew Pava

unread,
Feb 22, 2017, 9:16:47 AM2/22/17
to django...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9e3e6e5a-729c-46ab-aa12-b73207a0d88b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages