Misspoke in that last post--if you want a select tag, obviously you
won't be using li tags.  You'd use option tags, and maybe throw in
some text in front of each option to indicate the level.  Everything
else still applies the same.

-Jeff

On Jul 12, 11:57 am, Nenillo <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm doing an app with a category model. That category model has an
> autoreference field, to do multiple category levels.  I'm using
> models.ForeignKey('self',
> null=True, blank=True) for that. The problem is that the select is
> shown in a plain way and I wan to do something like:
>
> Cat1
> - Subcat1-1
> - Subcat1-2
> Cat2
> - Subcat2-1
>
> Is there any easy way to do that? O are hint on how to do it?
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to