I imagine it would. However, what happens with repopulation of the
fields if validation fails? If my view is called subscription(), I
usually do something like:
def subscription(request):
...
if request.method == 'POST':
data = request.POST.copy()
errors = manipulator.get_validation_errors()
...
form = forms.FormWrapper(manipulator, data, errors)
return render_to_response('subscribe.html', {'form': form})
I wonder how I will know which maniplator class to use. I'm not sure
if I'm clear, but it's sort of messed up in my head.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---