On Wednesday 01 October 2008 01:35:55 am Merrick wrote:
> All is not lost if a user enters an invalid code I still want to do
> something with just the url, but I cannot get
> form.cleaned_data.get('url'). Any ideas how to get the url inputted
> and to clean it inside the ValueError branch of code above

cleaned_data only gets produced if is_valid is true - so if you want 
cleaned_data, do validation on the code after that.

-- 
regards
KG
http://lawgon.livejournal.com

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to