django project files 1

django project files

mysite/
    manage.py
    mysite/
        __init__.py
        settings.py
        urls.py
        asgi.py
        wsgi.py

Here is what the above code is Doing:
1. The first line tells the Python interpreter to load a module named django.
2. The second line uses a function called get_wsgi_application() to get Django’s WSGI application.
3. The third line calls the application() function with the two arguments environ and start_response.

Similar Posts