1
0
mirror of https://github.com/django/django.git synced 2025-04-17 22:04:38 +00:00

[1.7.x] Fixed typo in admin deprecation message.

Backport of d4e449d73029dd512acb5f156ee5b4e93189e7b9 from master
This commit is contained in:
Markus Amalthea Magnuson 2014-12-11 19:28:13 +01:00 committed by Tim Graham
parent f446acf8bb
commit 63d8f84e5d

@ -139,7 +139,7 @@ class BaseModelAdmin(six.with_metaclass(RenameBaseModelAdminMethods)):
if cls.validator_class:
warnings.warn(
'ModelAdmin.validator_class is deprecated. '
'ModeAdmin validators must be converted to use '
'ModelAdmin validators must be converted to use '
'the system check framework.',
RemovedInDjango19Warning)
validator = cls.validator_class()