hi, thanks, it works now:)
modify like this:
Alias /media C:\django\django\contrib\admin\media
SetHandler None
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
sorry, it couldn't work:(.
my httpd.conf:
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE hotel.settings
Alias /media C:\django\django\contrib\admin\media
SetHandler None
any mistake here?
hi, I ported my web to apache, it works, but the admin site couldn't
find the css template now. how can I find it back.
the django office site said "2. Or, copy the admin media files so that
they live within your Apache document root."
but after I copied it to my htdocs, "C:\Program Files\Apache
Great, it works! thanks for help. BTW, the PythonPath is a windows
system environment variable.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
hi, I read document "How to use Django with mod_python", and puzzled ab
two things.
first:
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
^^^ -if my project is hotel, then I
just write
5 matches
Mail list logo