Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #7913 -- Corrected ham-fisted typo from [8102]. Thanks to evinr…

…ik for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a14fc40041b28dd4aa07bd1ffca8a0189ac5fb5f 1 parent b69b15f
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/fields/__init__.py
View
2  django/db/models/fields/__init__.py
@@ -385,7 +385,7 @@ def get_choices_default(self):
def get_flatchoices(self, include_blank=True, blank_choice=BLANK_CHOICE_DASH):
"Returns flattened choices with a default blank choice included."
first_choice = include_blank and blank_choice or []
- return first_choices + list(self.flatchoices)
+ return first_choice + list(self.flatchoices)
def _get_val_from_obj(self, obj):
if obj:
Please sign in to comment.
Something went wrong with that request. Please try again.