Friday, May 27, 2011

Re: Django Admin static base.css ignored

> How are you telling Django about your overridden CSS? Are you specifying it
> in the ModelAdmin class, or in an overridden template?
>
> I hope you're not expecting it to be picked up automatically, as there's
> nothing in the documentation to imply that is the case.
> --
> DR.

Well, collectstatic copied the base.css to myproject/static_files/
admin/css/base.css, and if I inspect elements on the Admin pages with
Firebug they are styled by http://myprojectdomain:8000/static/admin/css/base.css,
so it looks like everything is hooked up.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate