Just use django-mptt [1][2], especially after version 0.5 It will do exactly what you need, except better!
Cheers, AT [1] http://django-mptt.github.com/django-mptt/ [2] http://django-mptt.github.com/django-mptt/overview.html#what-is-django-mptt On Tue, Nov 29, 2011 at 12:22 PM, fabrixxm <fabrix...@gmail.com> wrote: > On 28 Nov, 20:25, Swaroop Shankar V <swaroo...@gmail.com> wrote: > > Hi, > > I am trying to implement a menu system for my project which would enable > > the admin to create menu's that will be displayed on the webpage. So i > > should be able to create sub-menus which will have a parent menu. > > https://docs.djangoproject.com/en/dev/ref/models/fields/#foreignkey > > -- > 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. > > -- 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.