Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 26ad3abadf3252c9c4a5eef4be0a8fa1796b58bd 1 parent 244e765
Rocky Meza authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/options.py
View
2  django/contrib/admin/options.py
@@ -478,7 +478,7 @@ def get_form(self, request, obj=None, **kwargs):
# 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 = {
Please sign in to comment.
Something went wrong with that request. Please try again.