Re: django: creating tag groups

2013-01-18 Thread Andre Terra
I'd just like to emphasize that django-mptt is *the* way to go. It's one great application that make it a breeze to work with hierarchies. Cheers, AT On Fri, Jan 18, 2013 at 4:01 AM, Sammael wrote: > Amirouche, thank you very much. > jQuery solution is quite interesting but it's more complicat

Re: django: creating tag groups

2013-01-17 Thread Sammael
Amirouche, thank you very much. jQuery solution is quite interesting but it's more complicated for me to implement. So I think I gonna use your first idea =). django-mptt is very simple to install and it's well documented. Thank you very much. Your help is inestimable. среда, 16 января 2013 г.,

Re: django: creating tag groups

2013-01-16 Thread Sammael
вторник, 15 января 2013 г., 16:34:36 UTC+4 пользователь Amirouche написал: > > > The example in the code is not working, <> class is not referenced > anywhere. I'm not familiar with multi-widgets but if a tree widgets is not > what you want or don't get it work, I think it's the right approach.

Re: django: creating tag groups

2013-01-15 Thread Amirouche Boubekki
> Why are you creating two groups of tags ? Why not use a specific widgets >> like a tree widget ? >> > > Great idea! Think, I'll give this a try. > It's not the same UX though... > > Are you sure you use the good parameter to pass the queryset to the >> underlying Field >> > > It's just an exam

Re: django: creating tag groups

2013-01-15 Thread Sammael
вторник, 15 января 2013 г., 5:56:51 UTC+4 пользователь Amirouche написал: > Why are you creating two groups of tags ? Why not use a specific widgets > like a tree widget ? > Great idea! Think, I'll give this a try. I think that it would be useful. maybe try widgets attrs

Re: django: creating tag groups

2013-01-14 Thread Amirouche
Why are you creating two groups of tags ? Why not use a specific widgets like a tree widget ? On Monday, January 14, 2013 12:02:59 PM UTC+1, Sammael wrote: > > *The models* > > class TagGroup(models.Model): > name = models.SlugField(max_length=50, unique=True, db_index=True) > > c