Sunday, January 29, 2012

Admin CSS not loading on dev

I cannot get the admin CSS to load.

The dev docs shows that:
"ADMIN_MEDIA_PREFIX
Deprecated in Django 1.4: This setting has been obsoleted by the
django.contrib.staticfiles app integration"

Checking another project I had which I generated with "startproject"
on 1.4a1 I found that its CSS works and is located here:
django\django\contrib\admin\static\admin\css

However I cannot figure out how to make the css load in my other
project. I have tried setting up a new virtualenv, but this didn't
make a difference.

Please tell me how to autoload the CSS without manually moving the .css files.

Thanks for all suggestions,

Alec Taylor

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