On Dec 14, 2:23 pm, Shawn Milochik <shawn.m...@gmail.com> wrote:
> What you're trying to do is simple enough to write out in flowchart form on a 
> sheet of paper. You should do that, then write some code, then ask for help 
> with specifics when you get stuck, or are trying to decide between different 
> approaches. What your e-mail sounds like, whether you intend it or not, is 
> asking other people to do your work for you. If you have any specific 
> questions (more specific than 'how to implement a workflow like that'), then 
> by all means ask them.
>
> Also, this sounds like homework.
>
> Shawn


Terribly sorry that this sounds like homework, or lazy. Wasn't
intended to. I'm always careful to specify "a bit of advice or
direction", in the hopes that the person reading it will realize that,
though the problem to them seems trivial, for one reason or another I
know what I'm doing and just need a bit of a boost in the right
direction.

As I've been looking at it, it seemed a bit complicated - probably
because I'm approaching this with the Old mindset of the web, where I
would have to maintain my own state, etc., and didn't have the
framework here to help me.

Now that I've done a bit more reading, I realize that the Form Wizard
stuff will probably be exactly what I need, I'll just have to create
the appropriate forms for each model, and decide what order to place
things.

I think part of my over-complicating the issue for myself was that I'm
imagining too many user interface details during the thought-process,
instead of focusing on the problem solely at the back-end.

Here's a specific problem that I don't know how to approach:

On the first form, the user chooses the Date and meta-details for an
Event (name/description).
On the second form, the user should be prompted to select an existing
Venue where the Event will take place. At this point, I would like the
user to be able to create a new Venue if necessary. Obviously, the New
Venue form will validate the required meta-information for a Venue. My
problem: I hate pop-ups. And, as far as I can tell, the default way
(as-in, the way Django Admin does it) to add a model on the fly is via
a pop-up. Aside from that, I guess I could dynamically add 'New Venue'
forms to the current form page, but in that case, I have no idea how
they should be validated/handled when attempting to move to the next
page.

Can the Form Wizard handle this type of branching-and-returning to the
last place in the form, or should I just attempt to tackle this kind
of thing myself?

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to