google-code-export / django-mptt

Automatically exported from code.google.com/p/django-mptt
Other
0 stars 0 forks source link

Issues 17, 39, 44 are the same - 3 birds with one stone. #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by eyep...@gmail.com on 10 Mar 2009 at 5:32

GoogleCodeExporter commented 9 years ago
Marked the dupes as such

Original comment by jonathan.buchanan on 3 Jul 2009 at 10:44