Re: Admin site not formatted
Read:
http://docs.djangoproject.com/en/dev/howto/deployment/modpython/?from=olddocs#id1
It tells you about serving static files with mod_python.
Graham
On Jul 11, 3:50 am, octopusgrabbus <old_road_f...@verizon.net> wrote:
> Using Apache and not the built-in Django 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 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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home