summaryrefslogtreecommitdiff
path: root/system/graphite-web/patches/graphite.wsgi.example.diff
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2016-07-24 19:18:50 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:21 +0700
commit7b3a2e146475aea46b550d4604bc95e7eb60020e (patch)
tree3f3af525fdb3c7b0ca4e0f08bc7e6e56ab3dfa6d /system/graphite-web/patches/graphite.wsgi.example.diff
parent1b52fb554491e387778920497ff55ed2b81af2be (diff)
downloadslackbuilds-7b3a2e146475aea46b550d4604bc95e7eb60020e.tar.gz
system/graphite-web: Updated for version 0.9.15.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/graphite-web/patches/graphite.wsgi.example.diff')
-rw-r--r--system/graphite-web/patches/graphite.wsgi.example.diff15
1 files changed, 8 insertions, 7 deletions
diff --git a/system/graphite-web/patches/graphite.wsgi.example.diff b/system/graphite-web/patches/graphite.wsgi.example.diff
index d4f436ae7a..2584cb7e7c 100644
--- a/system/graphite-web/patches/graphite.wsgi.example.diff
+++ b/system/graphite-web/patches/graphite.wsgi.example.diff
@@ -1,9 +1,10 @@
---- graphite-web-0.9.13-pre1/conf/graphite.wsgi.example.orig 2014-12-31 17:51:36.000000000 +0100
-+++ graphite-web-0.9.13-pre1/conf/graphite.wsgi.example 2015-02-19 18:26:43.753661979 +0100
-@@ -1,5 +1,5 @@
- import os, sys
+--- graphite-web-0.9.15/conf/graphite.wsgi.example.orig 2015-11-27 19:37:16.000000000 +0100
++++ graphite-web-0.9.15/conf/graphite.wsgi.example 2015-12-03 23:59:30.205576427 +0100
+@@ -1,6 +1,6 @@
+ import os
+ import sys
-sys.path.append('/opt/graphite/webapp')
-+sys.path.append('/usr/share/graphite/static')
- os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'graphite.settings')
++sys.path.append('/usr/share/graphite-web/static')
- import django
+ try:
+ from importlib import import_module