Changes between Version 1 and Version 2 of Ticket #28669


Ignore:
Timestamp:
Oct 2, 2017, 1:46:08 PM (7 years ago)
Author:
Dylan Young
Comment:

I'm happy to tackle this if an approach is agreed upon. It's totally possible that this is expected and simply requires 1) documentation and 2) better checks for overrides (i.e. if message is not None). This would, however, probably be the most painful approach to fixing it as all if message and similar checks would need to be identified and audited.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28669 – Description

    v1 v2  
    11Expected: True
    22
    3 In particular this shows up when trying to provide a custom ungettext_lazy message to django.core.BaseValidator (or any subclass).
     3In particular this shows up when trying to provide a custom ungettext_lazy message to django.core.BaseValidator (or any subclass), since message is only overriden in `__init__` `if message`
    44
    55Not sure if this is also present on Django>1.8 (couldn't find any existing references to this bug).
Back to Top