K
K
ks_ks2013-05-26 21:59:47
Django
ks_ks, 2013-05-26 21:59:47

Wsgi.py - why is it created at startproject?

Subject - I don’t understand why it is needed and I can’t find where to read
in an easily accessible form about this
innovation, from some version.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
vodka_ru, 2013-05-26
@vodka_ru

With it, the application can work with a web server (Nginx, Apache, and many others) using the WSGI protocol. Here it is written about the protocol, and here and here how to apply it in Django.

M
marazm, 2013-06-05
@marazm

This code defines the wsgi application in the application variable. In fact, django doesn't true-wsgi.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question