Wizards: Content creation wizards with foreign keys

17 views
Skip to first unread message

Rafiki

unread,
Sep 29, 2019, 12:13:59 PM9/29/19
to django CMS developers
Hello,

I'm new in django-cms, I was stepping through the next tutorial's points (http://docs.django-cms.org/en/release-3.5.x/introduction/index.html) and I found something that makes me curious.
"Once again, this particular example is for illustration only. In the case of a Poll, with its multiple Questions associated with it via foreign keys, we really want to be able to edit those questions at the same time too.

That would require a much more sophisticated form and processing than is possible within the scope of this tutorial."

I was looking for any information how to make wizard to create main Object (here Question) with associated foreign keys (here Choices) but I found nothing. I checked the Wizard class code to figure out something, but at this moment I don't have any good idea. Of course I'm looking for appropriate, elegant way to do that in django-cms.

Is there anybody to put light on that subject? Examples would be very helpful.

I would appreciate it very much :)

Rafiki

Reply all
Reply to author
Forward
0 new messages