Changeset b63d6b2 for asadb/util/db_form_utils.py
- Timestamp:
- Nov 12, 2011, 3:46:00 AM (14 years ago)
- Branches:
- master, space-access, stable, stage, test-hooks
- Children:
- b83db50
- Parents:
- b928edc
- git-author:
- Alex Dehnert <adehnert@…> (11/12/11 03:27:37)
- git-committer:
- Alex Dehnert <adehnert@…> (11/12/11 03:46:00)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/util/db_form_utils.py
r9b911db rb63d6b2 26 26 27 27 def value_from_datadict(self, data, files, name, ): 28 for choice_value, choice_label in self.choices: 29 if choice_label == unicode(self.value): 30 return choice_value 28 31 return self.value 29 32
Note: See TracChangeset
for help on using the changeset viewer.