1👍
✅
yes, you are supposed to create a new directory say apache and place your wsgi scrip in this directory. I don’t know why settings.py and wsgi.py are created in the same place by default!
1👍
Go read the documentation on the Django site:
It is more up to date as to what to do for newer versions of Django.
- [Answered ]-Accessing User.get_absolute_url in Django 1.7
- [Answered ]-Django GenericForeignKey limit to ContentTypes that inherit from a particular abstract model
- [Answered ]-How to redirect to another page
0👍
Create a folder named apache
in your project directory and put wsgi.py
file there. Then in apache configuration file add following line to point to that file:
WSGIScriptAlias / /path/to/my/project/apache/wsgi.py
# where /path/to/my/project/ is your project path
- [Answered ]-Django dict in template
- [Answered ]-How to delete many to many when unassociated in Django?
- [Answered ]-Django can't open database in table
Source:stackexchange.com