Hi,
I am having a problem getting the form wizard to load a different
template for each form. I used the example provided where they name
their templates template_0.html, template_1.html ... and so then
override the function like this:
def get_template(self, step):
return 'vlis/production/order/template_%s.html' % step
I stepped through the code with a debugger and noticed that every time
it his "get_template(self, step)" the variable step always stays at
0. Shouldn't this increment for every step in the form? Not sure if
this is just me doing something wrong or possibly a glitch. Any help
would be much appreciated.
Regards,
Tyson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---