Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed stray 'print' statement in ManyToManyField.flatten_data(). Th…

…anks, burivuh

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 332c4bd695f6257fa917c02b35f6a9b75cd08341 1 parent 8b4dc34
@adrianholovaty adrianholovaty authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  django/core/meta/fields.py
View
1  django/core/meta/fields.py
@@ -798,7 +798,6 @@ def flatten_data(self, follow, obj = None):
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
Please sign in to comment.
Something went wrong with that request. Please try again.