google-code-export / django-mptt

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

mptt does not add parent to self.fields #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I tried to add 'parent' to a unique_together option, Django complained 
that parent wasn't a model field, where as 'lft', 'rght', 'tree_id', 'level' 
are.

Why isn't 'parent' also added as a model field (probably in register 
classmethod)?

Original issue reported on code.google.com by cla...@2xlibre.net on 3 Dec 2010 at 3:23

GoogleCodeExporter commented 9 years ago
Hum... RTFM. Sorry for the noise :-(

Original comment by cla...@2xlibre.net on 3 Dec 2010 at 3:31

GoogleCodeExporter commented 9 years ago
Migrated to https://github.com/django-mptt/django-mptt/issues/#issue/103

Original comment by craig.ds@gmail.com on 19 Dec 2010 at 1:10