Walt,

Thanks for the clarification. That helped a lot.
I did get this working. Yeah!
Had to do a slight tweak to the surrounding elements on the page to
get it to look right (minor change to widgets.css).
Now I can see all of the data for the profiles. Seems like there
should be a way to auto scale the width based on data, but that's for
another time.
Thanks for your help.

Reed
On Mar 26, 10:43 am, Walt <tufelkin...@gmail.com> wrote:
> I'm sorry I wasn't more clear, the class Media just gets
> added to your existing admin class. The path to the css
> should be the path that is appended to your SETTINGS.PY
> media path to reach the css file. The class ResizeFilterAdmin
> was just an example name.
>
> In other words, if your media path is: /var/www/media
> and your css file is stored in /var/www/media/css/bisite.css
> then your Media entry would be:
>
> css = { 'all': ('/media/css/bisite.css',)}
>
> So the full entry would be:
>
> class ProfileAdmin(admin.ModelAdmin):
>     search_fields = ('profile_name',)
>     ordering = ('profile_name',)
>    filter_horizontal= ('profile_test',)
>
>     class Media:
>         css = {
>             'all':('/media/css/bisite.css',)
>         }
>
> Does that make more sense? Again, I apologize for the
> miscommunication!
>
> Thanks,
> Walt
>
> -~

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to