Re: admin addGroup similar layout

2012-07-03 Thread Melvyn Sopacua
On 1-7-2012 16:32, ledzgio wrote:

> I would like to have a layout similar to the one in the Admin page --> 
> Groups --> Add Group, the Permissions field, where I can have all elements 
> of a table throw a foreignKey (I suppose) on the left and add them to the 
> right side. 



If you need it outside the admin, trace down the filter_horizontal
attribute to the widget. Not in a position to do that right now.
-- 
Melvyn Sopacua


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



admin addGroup similar layout

2012-07-01 Thread ledzgio
Hi all,

I would like to have a layout similar to the one in the Admin page --> 
Groups --> Add Group, the Permissions field, where I can have all elements 
of a table throw a foreignKey (I suppose) on the left and add them to the 
right side. 

How can I reproduce this configuration? how can I list all elements of a 
table (this table is referred with a ForeignKey from the main entity of the 
model) with a similar layout to the Admin add group?

thanks very much

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/B2yFF0I5T04J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.