Tuesday, November 29, 2011

Re: Referring to same model records as a parent

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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment