Fixed typo in admin deprecation message.
This commit is contained in:
parent
44927ba817
commit
d4e449d730
|
@ -135,7 +135,7 @@ class BaseModelAdmin(six.with_metaclass(forms.MediaDefiningClass)):
|
||||||
if cls.validator_class:
|
if cls.validator_class:
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
'ModelAdmin.validator_class is deprecated. '
|
'ModelAdmin.validator_class is deprecated. '
|
||||||
'ModeAdmin validators must be converted to use '
|
'ModelAdmin validators must be converted to use '
|
||||||
'the system check framework.',
|
'the system check framework.',
|
||||||
RemovedInDjango19Warning)
|
RemovedInDjango19Warning)
|
||||||
validator = cls.validator_class()
|
validator = cls.validator_class()
|
||||||
|
|
Loading…
Reference in New Issue