mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.7.x] Fixed typo in admin deprecation message.
Backport of d4e449d73029dd512acb5f156ee5b4e93189e7b9 from master
This commit is contained in:
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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user