Removed stray 'print' statement in ManyToManyField.flatten_data(). Thanks, burivuh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8b4dc349b6
commit
332c4bd695
|
@ -798,7 +798,6 @@ class ManyToManyField(Field):
|
|||
if not self.blank and not self.rel.edit_inline and not self.rel.raw_id_admin:
|
||||
choices_list = self.get_choices_default()
|
||||
if len(choices_list) == 1:
|
||||
print self.name, choices_list[0][0]
|
||||
new_data[self.name] = [choices_list[0][0]]
|
||||
return new_data
|
||||
|
||||
|
|
Loading…
Reference in New Issue