Changes between Initial Version and Version 1 of Ticket #22089, comment 5
- Timestamp:
- Dec 31, 2019, 2:38:33 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22089, comment 5
initial v1 13 13 }}} 14 14 15 It would still crash on `str(Example())`. 15 It would still crash on `str(Example())` just like `str(EmailAddress())` crash from your provided test project. 16 17 In summary `Model.__str__` implementations should account for `None` attributes just like any `object` subclass has to.