Please sign in to comment.
Fixes #1 — handle validation better at the model field level and mad…
…e validation much more consistent across the form field and model field This was a doozy. TimeZoneField does not actually use TimeZoneField defined via formfield because it has choices. Django forces TypedChoiceField. This at least makes them behave mostly consistetly. Needed to handle validation at the model field level for 1.2 since we want to deal with a pytz timezone object normally, but when validating we need to work with its string representation. Tests are now passing. There may be some extra minor bits tossed in too for good measure.
- Loading branch information...
Showing with 38 additions and 20 deletions.