You are not logged in.

Change Language:

Board >> Getting Started >> Setup and Configuration >> Admin site not formatted

Page: 1

This post is related to apache configuration posted yesterday.
Using apache and not the built-in web server, I can reach the admin site, but it's not formatted well, as it is with the built-in web server.

Any ideas on what to do?

Here's the location directive in apache

<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE chapter4.settings
PythonOption django.root /home/amr/web/django/chapter4
PythonPath "['/home/amr/web/django/'] + ['/home/amr/web/django/favorites/'] + sys.path
"
PythonDebug On
</Location>
you have to make sure that MEDIA_ROOT is reachable through MEDIA_URL - for example my apache configuration contains the following alias:

        Alias /media /home/kahless/django_trunk/django/contrib/admin/media


i guess you miss something similar .. simply look at the HTML code of the admin website which CSS it tries to import.. and see if you can find it.. and write the correct alias for the MEDIA_URL directory.
I'll try this and post the results. Thanks for the answer.


Page: 1



Please login to post a reply.



Powered by Sphene Community Tools