Hi,

> Is there any easy way to do that? O are hint on how to do it?

You should create your custom widget for this.

Regards,
 Nikolay.


On Sat, Jul 12, 2008 at 19:57, 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