Search code examples
linuxdjangonginxuwsgi

mysite.wsgi file is missing after creating django project


I try to deploy nginx+uwsgi+django. In .ini-file is required to set module=mysite.wsgi. But in my project directory there is no any .wsgi-file. Project created by

django-admin.py startproject xproj

Why it is possible?


Solution

  • in Django 1.4.0 and above wsgi.py exist under xproj->xproj folder .

    Django provided wsgi.py t interact with web server .