Kaydet (Commit) 332c4bd6 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

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
üst 8b4dc349
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment