I use this sample code : from django.db import models
import mptt class Genre(models.Model): name = models.CharField(max_length=50, unique=True) parent = models.ForeignKey('self', null=True, blank=True, related_name='children') mptt.register(Genre, order_insertion_by=['name']) But Django send me this error : in register dispatcher.connect(pre_save, signal=model_signals.pre_save, sender=modem) AttributeError: 'module' object has no attribute 'connect' On 10 mai, 17:57, Bro <coolpari...@gmail.com> wrote: > Thanks :) > > On 10 mai, 17:15, Antoni Aloy <antoni.a...@gmail.com> wrote: > > > 2009/5/10 Bro <coolpari...@gmail.com>: > > > > Thanks, I try to use django-mptt. > > > I've installed it but how do you use it ? > > > You have the documentation at: > > >http://django-mptt.googlecode.com/svn/trunk/docs/models.txt > > > mptt will give you lots of extra messages to deal with the category tree. > > > -- > > Antoni Aloy López > > Blog:http://trespams.com > > Site:http://apsl.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---