mirror of
https://github.com/django/django.git
synced 2025-03-13 02:40:47 +00:00
Fixed spelling of "consistent" in admin/options.py
This commit is contained in:
parent
244e765a94
commit
26ad3abadf
@ -478,7 +478,7 @@ class ModelAdmin(BaseModelAdmin):
|
|||||||
# Take the custom ModelForm's Meta.exclude into account only if the
|
# Take the custom ModelForm's Meta.exclude into account only if the
|
||||||
# ModelAdmin doesn't define its own.
|
# ModelAdmin doesn't define its own.
|
||||||
exclude.extend(self.form._meta.exclude)
|
exclude.extend(self.form._meta.exclude)
|
||||||
# if exclude is an empty list we pass None to be consistant with the
|
# if exclude is an empty list we pass None to be consistent with the
|
||||||
# default on modelform_factory
|
# default on modelform_factory
|
||||||
exclude = exclude or None
|
exclude = exclude or None
|
||||||
defaults = {
|
defaults = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user