Changes between Version 5 and Version 6 of Ticket #21198, comment 2


Ignore:
Timestamp:
Sep 30, 2013, 8:29:51 AM (11 years ago)
Author:
James Pic

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21198, comment 2

    v5 v6  
    11Thanks for the link, but I don't get why that would work on Django 1.4.2 and not on Django 1.5.4.
    22
    3 Also, it kinds of look like the user should use `@python_2_unicode_compatible` on any model class that is "Python2-unicode-compatible", even by inheritance.
     3It kinds of look like the user should use `@python_2_unicode_compatible` on any model class that is "Python2-unicode-compatible", even by inheritance.
    44
    55So maybe it would be cool to raise a specific exception if `@python_2_unicode_compatible` is applied on a class without an `__str__` method indeed.
Back to Top