I have a search form that lets a user pick the field to be searched from a
pop-up. They could enter a date, a string or a number. Sometimes they enter
all of the above and I'm only expecting one of the above.

GET:<QueryDict: {u'searchFieldselect': [u'RegNumber'], u'searchValue':
[u'Today260713'], u'season': [u'current_season']}>,

I'm not catching type errors very gracefully and I'm wondering if there's a
general approach to such things, or if I need to hard code the each test.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BePoMyOSpOTpDhhvz9CeZ8CD8_3Zhtz-DkG%3DRA5aD0B%3DYYd1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to