Django

Code

Changeset 8139

Show
Ignore:
Timestamp:
07/29/08 16:43:07 (4 months ago)
Author:
russellm
Message:

Fixed #7913 -- Corrected ham-fisted typo from [8102]. Thanks to evinrik for the report.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/db/models/fields/__init__.py

    r8131 r8139  
    386386        "Returns flattened choices with a default blank choice included." 
    387387        first_choice = include_blank and blank_choice or [] 
    388         return first_choices + list(self.flatchoices) 
     388        return first_choice + list(self.flatchoices) 
    389389 
    390390    def _get_val_from_obj(self, obj):