0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Fixed typo in admin deprecation message.

This commit is contained in:
Markus Amalthea Magnuson 2014-12-11 19:28:13 +01:00 committed by Tim Graham
parent 44927ba817
commit d4e449d730

View File

@ -135,7 +135,7 @@ class BaseModelAdmin(six.with_metaclass(forms.MediaDefiningClass)):
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()