mirror of
https://github.com/django/django.git
synced 2025-03-26 09:10:50 +00:00
Fixed 17993 -- Removed quotes around module parameter for wider compatibility. Thanks roberto@unbit.it for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f95baa1d8a
commit
9ddbed6f15
@ -47,7 +47,7 @@ uWSGI supports multiple ways to configure the process. See uWSGI's
|
|||||||
Here's an example command to start a uWSGI server::
|
Here's an example command to start a uWSGI server::
|
||||||
|
|
||||||
uwsgi --chdir=/path/to/your/project
|
uwsgi --chdir=/path/to/your/project
|
||||||
--module='mysite.wsgi:application' \
|
--module=mysite.wsgi:application \
|
||||||
--env DJANGO_SETTINGS_MODULE=mysite.settings \
|
--env DJANGO_SETTINGS_MODULE=mysite.settings \
|
||||||
--master --pidfile=/tmp/project-master.pid \
|
--master --pidfile=/tmp/project-master.pid \
|
||||||
--socket=127.0.0.1:49152 \ # can also be a file
|
--socket=127.0.0.1:49152 \ # can also be a file
|
||||||
@ -81,7 +81,7 @@ Example ini configuration file::
|
|||||||
|
|
||||||
[uwsgi]
|
[uwsgi]
|
||||||
chdir=/path/to/your/project
|
chdir=/path/to/your/project
|
||||||
module='mysite.wsgi:application'
|
module=mysite.wsgi:application
|
||||||
master=True
|
master=True
|
||||||
pidfile=/tmp/project-master.pid
|
pidfile=/tmp/project-master.pid
|
||||||
vacuum=True
|
vacuum=True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user