Please sign in to comment.
The ``wsgi.py`` file will bridge between the ``python`` service and our Django app. We need two things here: * inject the ``DJANGO_SETTINGS_MODULE`` variable into the environment, pointing to our project settings module; * setup the ``application`` callable, since that is what the DotCloud service will be looking for. .. We can now push our application, by running ``dotcloud push djangotutorial`` (you can of course use any application name you like). A Python service will be created, the code will be deployed, and the URL of the service will be shown at the end of the build. If you go to this URL, you will see the plain and boring Django page, typical of the "just started" project.
- Loading branch information...