Changes between Initial Version and Version 1 of Ticket #22089, comment 5


Ignore:
Timestamp:
Dec 31, 2019, 2:38:33 PM (5 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22089, comment 5

    initial v1  
    1313}}}
    1414
    15 It would still crash on `str(Example())`.
     15It would still crash on `str(Example())` just like `str(EmailAddress())` crash from your provided test project.
     16
     17In summary `Model.__str__` implementations should account for `None` attributes just like any `object` subclass has to.
Back to Top