Hi.

I've the same problem deploying a django application on my web hosting
with FastCGI.

I've tried also to entirely copy the media admin directory into my
public_html, but the only page I continue see looking good is the
LOGOUT page.

It seems that Django doesn't load properly the css. In the homepage it
loads only the dashboard.css, I think it has to load also the
base.css.

I'm googling a lot but still haven't find something useful.

If someone have got any idea I'll be very happy.

Simone.

On 30 Apr, 00:05, Cole <cole.white...@gmail.com> wrote:
> just to add, the images are actually working fine..
>
> On 29 Apr, 22:57, Cole <cole.white...@gmail.com> wrote:
>
> > Hi,
>
> > I've used Django a fair bit and have just installed it on a ubuntu-
> > based distro.  I've got everything working fine with apache2 and
> > mod_python but the admin css,
>
> > I have a soft link at /var/www/admin_media ponting to the admin media
> > folder and going to something like:
>
> >http://localhost/admin_media/img/admin/down_arrow.gif
>
> > shows the image fine in the browser - but the admin interface has no
> > css or images - except, weirdly on the logout page.
>
> > both the logout page and any other admin page have exactly the same
> > reference to the CSS:
>
> > login (not styled):
>
> > <link rel="stylesheet" type="text/css" href="/admin_media/css/
> > login.css" />
>
> > logout (styled fine):
> > <link rel="stylesheet" type="text/css" href="/admin_media/css/
> > base.css" />
>
> > I've deleted and redone the soft link a couple of times and tried
> > trailing slashes in the apache2.conf declarations (below for
> > reference) and it's made no difference.
>
> > Please help!
>
> > Cheers,
> > Cole
>
> > #### APACHE SETTINGS
> > MaxRequestsPerChild 1
> > <location "/">
> >     SetHandler python-program
> >     PythonHandler django.core.handlers.modpython
> >     SetEnv DJANGO_SETTINGS_MODULE blog.settings
> >     PythonPath "['/home/cole/web-dev/django_projects'] + sys.path"
> > </location>
>
> > <location "/media/">
> >     SetHandler None
> > </location>
>
> > <location "/admin_media/">
> >     SetHandler None
> > </location>
>
> > <locationmatch "\.(jpg|gif|png)$">
> >     SetHandler None
> > </locationmatch>

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

Reply via email to