-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with path of CSS #1
Comments
You should put the admin media folder ("admin") inside your site media folder |
According to this link: https://docs.djangoproject.com/en/1.4/releases/1.4/#what-s-new-in-django-1-4
So you need to make an Alias in your VirtualHost config to the new link. For example:
|
I solved this issue before as simple as copying the admin media folder of Django to the project's site media |
This will require you to commit all that static files to git |
I 'm using nginx.
It 's OK, \m/ |
You only have to use nginx in the production environment. I think that's why you faced this issue. |
[08/Apr/2013 15:36:01] "GET /admin_media/css/forms.css HTTP/1.0" 404 6492
[08/Apr/2013 15:36:01] "GET /admin_media/css/base.css HTTP/1.0" 404 6491
[08/Apr/2013 15:36:01] "GET /admin_media/css/changelists.css HTTP/1.0" 404 6498
[08/Apr/2013 15:37:32] "GET /admin/settings/users/ HTTP/1.0" 200 13571
[08/Apr/2013 15:37:32] "GET /admin_media/css/base.css HTTP/1.0" 404 6491
[08/Apr/2013 15:37:32] "GET /admin_media/css/changelists.css HTTP/1.0" 404 6498
[08/Apr/2013 15:37:32] "GET /admin_media/css/forms.css HTTP/1.0" 404 6492
The text was updated successfully, but these errors were encountered: