Skip to content

Commit

Permalink
Move wsgi script up to package root
Browse files Browse the repository at this point in the history
The wsgi module is not configuration, but a script to start the WSGI
server.

Suggested by @benjaoming in #1.
  • Loading branch information
keimlink committed Dec 11, 2018
1 parent f34e7fd commit abf1612
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,5 @@ Also see [How to use Django with Gunicorn](https://docs.djangoproject.com/en/{{
```
7. Start Gunicorn like this:
```console
gunicorn {{ project_name }}.conf.wsgi
gunicorn {{ project_name }}.wsgi
```
2 changes: 1 addition & 1 deletion src/project_name/conf/settings.py-tpl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ TEMPLATES = [
}
]

WSGI_APPLICATION = "{{ project_name }}.conf.wsgi.application"
WSGI_APPLICATION = "{{ project_name }}.wsgi.application"


# Database
Expand Down
File renamed without changes.

0 comments on commit abf1612

Please sign in to comment.