has a form on it but has not been submitted, I wouldn't expect the
behavior you describe.
If you submit a form improperly and it displays errors, then you hit
'refresh,' the view will still get the POST (or GET) and will do
whatever your view does.
It sounds like, and correct me if I'm wrong, you want the view to
somehow know whether the POST is actually a re-submission of the
previous submission. If so, you could probably find a way to do that,
but it seems to me that an invalid form is an invalid form, and the
errors are legit.
Shawn
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment