commit | ad2c4a1210bd91f5f5e7208313a435382fc66e01 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Tue Jul 22 01:21:05 2014 -0400 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Wed Jul 23 16:25:15 2014 -0400 |
tree | 6b5de68e49c17992c6525aa7b65dc3c500d17530 | |
parent | bbcc190c0ab6e70f76e88f811193e194bdc22a65 [diff] [blame] |
Django's delete method does not accept unknown keywords
diff --git a/planetstack/core/models/plcorebase.py b/planetstack/core/models/plcorebase.py index 289bd49..446245b 100644 --- a/planetstack/core/models/plcorebase.py +++ b/planetstack/core/models/plcorebase.py
@@ -87,6 +87,7 @@ pass if (purge): + del kwds['purge'] super(PlCoreBase, self).delete(*args, **kwds) else: self.deleted = True