Changes between Initial Version and Version 1 of Ticket #4136, comment 33
- Timestamp:
- Apr 29, 2015, 6:22:20 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4136, comment 33
initial v1 1 Seems to this actually applies to any fields that allow empty strings. It's either the form or the model's responsibility to automatically translate the blank strings into None in this case.1 Seems to me this actually applies to any fields that allow empty strings. It's either the form or the model's responsibility to automatically translate the blank strings into None in this case. 2 2 3 3 I usually work around the problem by putting this in my model's `save()` method: