mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix up some minor formatting.
This commit is contained in:
parent
99dbe28e98
commit
8cd4071f0e
11
README.rst
11
README.rst
@ -70,9 +70,9 @@ that don't require a translation layer. Basic usage::
|
|||||||
|
|
||||||
$ gunicorn [OPTIONS] APP_MODULE
|
$ gunicorn [OPTIONS] APP_MODULE
|
||||||
|
|
||||||
Where APP_MODULE is of the pattern $(MODULE_NAME):$(VARIABLE_NAME). The module
|
Where ``APP_MODULE`` is of the pattern ``$(MODULE_NAME):$(VARIABLE_NAME)``. The
|
||||||
name can be a full dotted path. The variable name refers to a WSGI callable
|
module name can be a full dotted path. The variable name refers to a WSGI
|
||||||
that should be found in the specified module.
|
callable that should be found in the specified module.
|
||||||
|
|
||||||
Example with test app::
|
Example with test app::
|
||||||
|
|
||||||
@ -87,7 +87,8 @@ applications. Basic usage::
|
|||||||
|
|
||||||
$ gunicorn_django [OPTIONS] [SETTINGS_PATH]
|
$ gunicorn_django [OPTIONS] [SETTINGS_PATH]
|
||||||
|
|
||||||
By default SETTINGS_PATH will look for settings.py in the current directory.
|
By default ``SETTINGS_PATH`` will look for ``settings.py`` in the current
|
||||||
|
directory.
|
||||||
|
|
||||||
Example with your Django project:
|
Example with your Django project:
|
||||||
|
|
||||||
@ -97,7 +98,7 @@ Example with your Django project:
|
|||||||
Alternatively, you can install some Gunicorn magic directly into your Django
|
Alternatively, you can install some Gunicorn magic directly into your Django
|
||||||
project and use the provided command for running the server.
|
project and use the provided command for running the server.
|
||||||
|
|
||||||
First you'll need to add ``gunicorn`` to your INSTALLED_APPS in the settings
|
First you'll need to add ``gunicorn`` to your ``INSTALLED_APPS`` in the settings
|
||||||
file::
|
file::
|
||||||
|
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user