mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[1.7.x] Fixed typo in admin deprecation message.
Backport of d4e449d730 from master
This commit is contained in:
committed by
Tim Graham
parent
f446acf8bb
commit
63d8f84e5d
@@ -139,7 +139,7 @@ class BaseModelAdmin(six.with_metaclass(RenameBaseModelAdminMethods)):
|
|||||||
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()
|
||||||
|
|||||||
Reference in New Issue
Block a user