Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed some stray debug that was accidentally left in r3830.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 205cb040d4158948433aa85535dfcbacccbada01 1 parent 1753376
Russell Keith-Magee freakboy3742 authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  django/db/models/manipulators.py
2  django/db/models/manipulators.py
View
@@ -129,7 +129,6 @@ def save(self, new_data):
# TODO: Add to 'fields_changed'
expanded_data = DotExpandedDict(dict(new_data))
- print expanded_data
# Save many-to-one objects. Example: Add the Choice objects for a Poll.
for related in self.opts.get_all_related_objects():
# Create obj_list, which is a DotExpandedDict such as this:
@@ -216,7 +215,6 @@ def save(self, new_data):
# Save many-to-many objects.
for f in related.opts.many_to_many:
if child_follow.get(f.name, None) and not f.rel.edit_inline:
- print 'rel_new_data:',rel_new_data
setattr(new_rel_obj, f.name, f.rel.to.objects.filter(pk__in=rel_new_data[f.attname]))
if self.change:
self.fields_changed.append('%s for %s "%s"' % (f.verbose_name, related.opts.verbose_name, new_rel_obj))
Please sign in to comment.
Something went wrong with that request. Please try again.