views:

20

answers:

0

My Model::

class Category(model.Models):
   parent = model.ForeignKey('self', blank = True, null = True, related_name = 'children')
   name =..........
   desc = ............

This does work but the admin generator does not show a hierarchical tree menu after insertion of data.

Is there any way i can configure admin.py to show a hierarchical dropdown menu for the parent field ?