django-mptt/django-mptt — Issue #146: TreeForeignKey Import Incorrect in Auto-Generate Docs
Author: chrisdpratt
Created: 2011-10-21 20:09:49+00:00
State: open

On: http://django-mptt.github.com/django-mptt/models.html#id2
Under: Setting up a Django Model for MPTT

TreeForeignKey is imported using the line:

from mptt.models import MPTTModel, TreeForeignKey

This should actually be:

from mptt.models import MPTTModel
from mptt.fields import TreeForeignKey