From 9cb04f5fae94e6ff8fbe6305de2337def818b73f Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 18 Feb 2006 22:51:08 +0000 Subject: [PATCH] magic-removal: Negligible spacing change git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2355 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/django/db/models/base.py b/django/db/models/base.py index 9307a80647..5bf552059e 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -201,14 +201,14 @@ class Model(object): def delete(self): assert self._get_pk_val() is not None, "%s object can't be deleted because its %s attribute is set to None." % (self._meta.object_name, self._meta.pk.attname) - + # Find all the objects than need to be deleted seen_objs = {} self._collect_sub_objects(seen_objs) - + # Actually delete the objects delete_objects(seen_objs) - + delete.alters_data = True def _get_FIELD_display(self, field):