Deploying django app on Apache mod_python

前端 未结 5 2151
名媛妹妹
名媛妹妹 2021-02-11 07:55

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:32

    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.

提交回复
热议问题