summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJuan E. D. <chedar+gh@gmail.com>2015-03-31 17:04:13 -0300
committerJuan E. D. <chedar+gh@gmail.com>2015-03-31 17:04:13 -0300
commit563d55f53174000df1822f036a9f8150b00dce80 (patch)
tree4ad6b932d06ddad36db5e476a967dda4fa12ac28 /docs
parent8d6b72e97bca0da1d092c45485208bd66da8c193 (diff)
downloadbottle-563d55f53174000df1822f036a9f8150b00dce80.tar.gz
Add import os to app.wsgi example
Diffstat (limited to 'docs')
-rw-r--r--docs/deployment.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/deployment.rst b/docs/deployment.rst
index 0551320..78ee4bc 100644
--- a/docs/deployment.rst
+++ b/docs/deployment.rst
@@ -98,6 +98,7 @@ All you need is an ``app.wsgi`` file that provides an ``application`` object. Th
File ``/var/www/yourapp/app.wsgi``::
+ import os
# Change working directory so relative paths (and template lookup) work again
os.chdir(os.path.dirname(__file__))