1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00

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:
Adrian Holovaty 2006-03-24 19:13:21 +00:00
parent 8b4dc349b6
commit 332c4bd695

View File

@ -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