Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Russell Keith-Magee authored July 29, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/models/fields/__init__.py
2  django/db/models/fields/__init__.py
@@ -385,7 +385,7 @@ def get_choices_default(self):
385 385
     def get_flatchoices(self, include_blank=True, blank_choice=BLANK_CHOICE_DASH):
386 386
         "Returns flattened choices with a default blank choice included."
387 387
         first_choice = include_blank and blank_choice or []
388  
-        return first_choices + list(self.flatchoices)
  388
+        return first_choice + list(self.flatchoices)
389 389
 
390 390
     def _get_val_from_obj(self, obj):
391 391
         if obj:

0 notes on commit a14fc40

Please sign in to comment.
Something went wrong with that request. Please try again.