The FormWizard seems to be a good hint, since my input process consists of to steps: First create a Project and specify the Workflow to use. Second, show the Tasks for the Project (as indicated by the chosen Workflow / Step) and allow the user to tweak the Tasks (change assignee, deadline).
I can't wrap my head around the following: How do I do the second step: I have to show multiple forms for the different tasks on a single page (FormWizard: ' Define a number of Form <http://docs.djangoproject.com/en/dev/ref/forms/api/#django.forms.Form> classes – one per wizard page.') and I have to somehow know the chosen workflow in the first step... Is this possible with FormWizard? I could probably build a single Form for the multiple tasks, but how do I get the information on the chosen Workflow? Essentially this is a two-step process: Based on the choice in step one, do something in step two... Okay, I'll have a look at WizardView.get_cleaned_data_for_step(*step*) <http://django-formtools.readthedocs.org/en/latest/_modules/formtools/wizard/views.html#WizardView.get_cleaned_data_for_step> . This seems to be the right deal... On Monday, July 13, 2015 at 5:59:32 PM UTC+2, Aaron C. de Bruyn wrote: > > You might be looking for the FormWizard. > > In the latest version of Django, it has been moved to an external > application ( > https://github.com/django/django-formtools/blob/master/docs/wizard.rst). > In older version of Django, it is part of the corp app > (https://docs.djangoproject.com/en/1.7/ref/contrib/formtools/form-wizard/). > > > -A > > On Mon, Jul 13, 2015 at 6:03 AM, Softeisbieger <[email protected] > <javascript:>> wrote: > > So I made some progress on this project. I set up the means to manage > > customers, which is pretty basic stuff: I usedCreateView, ListView and > the > > like. > > > > Now I have a more complex situation where I am stuck: I am now working > on > > creating projects (see models above). Here I have to implement the > > following: > > > > Choose a work flow > > Based on choice in 1. show forms for the project and the different tasks > (as > > defined by Workflow and Step). Show presets as defined in Workflow / > Step. > > > > My Problem: I don't know how to approach this. Somehow I have to create > > Project / Jobs as indicated by the chosen Workflow. Unfortunately this a > bit > > over my head at the moment: Could you give me rough directions on how to > > approach this? Drop some keywords what is needed to make this work? > > > > > > > > -- > > 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 [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at http://groups.google.com/group/django-users. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/django-users/c3a735a5-8141-4c5b-bf1a-1ed064daf298%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9776d520-9717-4e9d-a24b-61d7a753e31e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

