Friday, May 27, 2011

Re: Django Admin static base.css ignored

On Friday, 27 May 2011 20:04:03 UTC+1, Lee wrote:
I've customized myproject/static_files/admin/css/base.css but my
customizations are ignored. If I make changes to /usr/lib/python2.4/
site-packages/django/contrib/admin/media/css/base.css it works fine.
I've double-checked the STATIC settings in settings.py and all looks
correct. Any ideas?

Thanks for any help.

Lee

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.

--
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.

No comments:

Post a Comment