diff options
| author | Elif T. Kus <elifkus@gmail.com> | 2016-01-03 12:56:22 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-22 12:18:24 -0500 |
| commit | 5dceb1f07807d76f163ce1929e9f1dc1b2da6289 (patch) | |
| tree | 21057f127c428fd95dc35badefd67560a3d2c100 /docs/howto/deployment | |
| parent | 647ce33e86807bcc75977a34871e1ee08230d9a5 (diff) | |
[1.9.x] Fixed #26020 -- Normalized header stylings in docs.
Backport of bca9faae95db2a92e540fbd08505c134639916fe from master
Diffstat (limited to 'docs/howto/deployment')
| -rw-r--r-- | docs/howto/deployment/index.txt | 1 | ||||
| -rw-r--r-- | docs/howto/deployment/wsgi/index.txt | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/howto/deployment/index.txt b/docs/howto/deployment/index.txt index 4acde03699..8ffda2cf63 100644 --- a/docs/howto/deployment/index.txt +++ b/docs/howto/deployment/index.txt @@ -1,3 +1,4 @@ +================ Deploying Django ================ diff --git a/docs/howto/deployment/wsgi/index.txt b/docs/howto/deployment/wsgi/index.txt index 27243e248c..2579df0c6a 100644 --- a/docs/howto/deployment/wsgi/index.txt +++ b/docs/howto/deployment/wsgi/index.txt @@ -22,7 +22,7 @@ Django includes getting-started documentation for the following WSGI servers: uwsgi The ``application`` object --------------------------- +========================== The key concept of deploying with WSGI is the ``application`` callable which the application server uses to communicate with your code. It's commonly @@ -42,7 +42,7 @@ set to ``<project_name>.wsgi.application``, which points to the ``application`` callable in :file:`<project_name>/wsgi.py`. Configuring the settings module -------------------------------- +=============================== When the WSGI server loads your application, Django needs to import the settings module — that's where your entire application is defined. @@ -68,7 +68,7 @@ If this variable isn't set, the default :file:`wsgi.py` sets it to Applying WSGI middleware ------------------------- +======================== To apply `WSGI middleware`_ you can simply wrap the application object. For instance you could add these lines at the bottom of :file:`wsgi.py`:: |
