gc2gh / django-newsroom

Automatically exported from code.google.com/p/django-newsroom
Other
0 stars 0 forks source link

404 error for /admin/css/base.css #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am getting a 404 error for http://dev.news21.com/media/admin/css/base.css

As you have time, let's look at the apache directives / config files or the
pinax settings files on the development server.

This seems to work fine on my laptop at home.

Original issue reported on code.google.com by jgty...@gmail.com on 3 May 2009 at 3:10

GoogleCodeExporter commented 8 years ago
It works fine in dev when you have DEBUG mode set to true, via urls.py and the 
static media server which is fine 
for development, but in production you need to setup an Alias in apache for 
/media/admin/ to 
django/contrib/admin/media (or thereabouts) 

Also make sure DEBUG is False in production under local_settings.py ...

Original comment by mand...@gmail.com on 3 May 2009 at 4:59

GoogleCodeExporter commented 8 years ago
closing since this is old.

Original comment by mand...@gmail.com on 28 May 2009 at 2:14