mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +00:00
Fixed typo in admin deprecation message.
This commit is contained in:
parent
44927ba817
commit
d4e449d730
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class BaseModelAdmin(six.with_metaclass(forms.MediaDefiningClass)):
|
||||||
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…
Add table
Add a link
Reference in a new issue