Fixed spelling of "consistent" in admin/options.py

This commit is contained in:
Rocky Meza 2013-03-28 09:10:13 -06:00
parent 244e765a94
commit 26ad3abadf
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ class ModelAdmin(BaseModelAdmin):
# Take the custom ModelForm's Meta.exclude into account only if the
# ModelAdmin doesn't define its own.
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
exclude = exclude or None
defaults = {