I have 2 fields I'm working with in a custom clean method:
- case_no
- county

the clean method is for case_no, so I have this:
--
def clean_case_no(self):
  d = self.cleaned_data
  form_case_no = d['case_no']
  form_county = d['county']
  ...
--

The form fails with KeyError on 'county'. How else can I access this
field for the clean method? I tried using self.is_valid() before
accessing cleaned_data but no change.

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to