summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-08-02 15:02:29 -0400
committerTim Graham <timograham@gmail.com>2014-08-02 15:04:05 -0400
commite275016f09a907c85c8f1b4c87388dfab330b2fd (patch)
treef52bc39aadd6877dfc7f308ecf6c93150fe55291
parent316178efe6308378f2b812f96a35f378c5003c08 (diff)
[1.6.x] Fixed #23154 -- Removed reference to deprecated run_gunicorn command.
Thanks frewsxcv for the report. Backport of 75f2c65cb6 from master
-rw-r--r--docs/howto/deployment/wsgi/gunicorn.txt35
1 files changed, 3 insertions, 32 deletions
diff --git a/docs/howto/deployment/wsgi/gunicorn.txt b/docs/howto/deployment/wsgi/gunicorn.txt
index 95051b690b..729e496053 100644
--- a/docs/howto/deployment/wsgi/gunicorn.txt
+++ b/docs/howto/deployment/wsgi/gunicorn.txt
@@ -9,19 +9,13 @@ dependencies and is easy to install and use.
.. _Gunicorn: http://gunicorn.org/
-There are two ways to use Gunicorn with Django. One is to have Gunicorn treat
-Django as just another WSGI application. The second is to use Gunicorn's
-special `integration with Django`_.
-
-.. _integration with Django: http://docs.gunicorn.org/en/latest/run.html#django-manage-py
-
Installing Gunicorn
===================
Installing gunicorn is as easy as ``sudo pip install gunicorn``. For more
details, see the `gunicorn documentation`_.
-.. _gunicorn documentation: http://gunicorn.org/install.html
+.. _gunicorn documentation: http://docs.gunicorn.org/en/latest/install.html
Running Django in Gunicorn as a generic WSGI application
========================================================
@@ -44,29 +38,6 @@ So for a typical Django project, invoking gunicorn would look like::
ensure that is to run this command from the same directory as your
``manage.py`` file.)
+See Gunicorn's `deployment documentation`_ for additional tips.
-Using Gunicorn's Django integration
-===================================
-
-.. note::
-
- If you are using Django 1.4 or newer, it’s highly recommended to simply run
- your application with the WSGI interface using the ``gunicorn`` command
- as described above.
-
-To use Gunicorn's built-in Django integration, first add ``"gunicorn"`` to
-:setting:`INSTALLED_APPS`. Then run ``python manage.py run_gunicorn``.
-
-This provides a few Django-specific niceties:
-
-* sets the gunicorn process name to be that of the project
-
-* validates installed models
-
-* allows an ``--adminmedia`` option for passing in the location of the
- admin media files.
-
-See Gunicorn's `deployment documentation`_ for additional tips on starting and
-maintaining the Gunicorn server.
-
-.. _deployment documentation: http://gunicorn.org/deploy.html
+.. _deployment documentation: http://docs.gunicorn.org/en/latest/deploy.html