Deploying django app on Apache mod_python

前端 未结 5 2179
故里飘歌
故里飘歌 2021-02-11 07:51

I\'ve finished making a site in django called \'kazbah\', and I\'m trying to deploy.

All the code for the kazbah site is in /home/git/DjangoProjects/kazbah and my httpd.

5条回答
  •  轮回少年
    2021-02-11 08:37

    Ok, maybe you have a syntax error in your settings file.

    Try this:

    $ cd /home/git/DjangoProjects/kazbah
    $ python
    >>> import settings
    

    Doing it this way will give you a much better error message if there are any errors.

提交回复
热议问题