| Issue 49: | Issues 17, 39, 44 are the same - 3 birds with one stone. | |
| 2 people starred this issue and may be notified of changes. | Back to list |
If it facilitates getting done any sooner, you can kill a number of birds
with one stone.
The steps:
create any basic model
mptt.register it
create a new instance via code
set the .pk(id) value of the instance
attempt to .save() the instance.
Get an error on signals.py,
line 110, in pre_save
old_parent = getattr(instance._default_manager.get(pk=instance.pk),
Because the instance does not exist.
Sorry for the repost. I'm adding to the noise.
|
Mergedinto: 17