| Issue 44: | django-reversion and mptt don't play along if you recover | |
| 3 people starred this issue and may be notified of changes. | Back to list |
if you recover a model that has mptt with django-reversion you get an error
in signals.py line 110:
old_parent = getattr(instance._default_manager.get(pk=instance.pk),
opts.parent_attr)
the problem lies that you try to load the old version that doesn't exist in
the database but the model already has a PK.
maybe make try ... except here
Mar 10, 2009
#1
eyep...@gmail.com
|