django-mptt/django-mptt — Issue #150: Model fields for OneToOneField and ManyToManyField
Author: duncm
Created: 2011-10-24 12:33:04+00:00
State: open

mptt.fields defines a `TreeForeignKey` model field to extend django.db.models.ForeignKey and override the default form_class setting with `TreeNodeChoiceField`.

Equivalent model field subclasses for `OneToOneField` and `ManyToManyField` would be useful so that forms and model admin will display options in tree order by default.

(would depend on #149 to order options correctly for a ManyToManyField)