Hi, there!

I found Django this afternoon and was impressed by what I found. After
getting the framework from SVN trunk and installing it on my Fedora
server, I followed the first 2 parts of the tutorial. Worked great and
i got the admin section up in no time. (Awesome stuff!).

I run my little project on the internal server, but soon found that i
had to restart it every time I introduced a syntax error into the code
and refreshed the page. This led me to try to setup my Apache2.2 with
mod_python, thinking I would avoid frequent restarting of the internal
server.

After added this configuration to the end of httpd.conf:

<VirtualHost *>
  ServerName goodcompany
  SetHandler mod_python
  PythonHandler django.core.handlers.modpython
  SetEnv DJANGO_SETTINGS_MODULE GoodCompany.settings
  PythonDebug On
  <Location "/media/">
    SetHandler None
  </Location>
</VirtualHost>

... and restarting Apache, I pointed my browser to
**http://goodcompany/** (I added '127.0.0.1 GoodCompany' to my
/etc/hosts file) and was greeted with the welcome page. However, I
could not access the admin section of my project and got 404 error.

Is there something I'm doing wrong? What could be the problem?

I'd love to start using Django. But first, I'd like to iron out these
small initial hurdles. I'm hoping for a little help here.

Reply via email to