Form Wizard and middle step data manipulation

9 views
Skip to first unread message

Lachlan Musicman

unread,
Nov 21, 2013, 7:02:22 AM11/21/13
to django...@googlegroups.com
Hola,

I want to collect an integer x in the first form, and then use that to
select the x oldest items from collections of items that may have <x
items, hence potentially needing more than one collection or part
thereof. IE, there is some functionality required at this point.

On the second form, I would like to present the collection of x items
and retrieve a boolean "verify". For this step I would use
WizardView.get_form_initial(step) or WizardView.initial_dict

I presume WizardView.process_step(form) is the method I need to use to
do that type of manipulation but I'm not 100% clear from the docs.

Has anyone done anything like this and/or is this the recommended way
to approach the problem?

cheers
L.


--
From this perspective it is natural that anarchism be marked by
spontaneity, differentiation, and experimentation that it be marked by
an expressed affinity with chaos, if chaos is understood to be what
lies outside or beyond the dominant game or system. Because of the
resistance to definition and categorisation, the anarchist principle
has been variously interpreted as, rather than an articulated
position, “a moral attitude, an emotional climate, or even a mood”.
This mood hangs in dramatic tension between utopian hope or dystopian
nihilism...
-----
http://zuihitsu.org/godspeed-you-black-emperor-and-the-politics-of-chaos
Reply all
Reply to author
Forward
0 new messages