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