1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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

Backport of d4e449d730 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

View File

@@ -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()