Blob Blame History Raw
From 8d56e6bed8b4c47b47f3229f4b55b9b63c067105 Mon Sep 17 00:00:00 2001
From: Piotr Popieluch <piotr1212@gmail.com>
Date: Sun, 2 Oct 2016 14:45:40 +0200
Subject: [PATCH] change URL_PREFIX to STATIC_URL

---
 webapp/graphite/local_settings.py.example | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/webapp/graphite/local_settings.py.example b/webapp/graphite/local_settings.py.example
index 3b12291..43d18ee 100644
--- a/webapp/graphite/local_settings.py.example
+++ b/webapp/graphite/local_settings.py.example
@@ -63,8 +63,9 @@
 # Starting from 1.11, options are used for both python-memcached and pylibmc.
 #MEMCACHE_OPTIONS = { 'socket_timeout': 0.5 }
 
-# Set URL_PREFIX when deploying graphite-web to a non-root location
-#URL_PREFIX = '/graphite'
+# Set STATIC_URL when deploying graphite-web to a non-root location
+# STATIC_URL needs a trailing /
+#STATIC_URL = '/graphite/static/'
 
 # Graphite uses Django Tagging to support tags in Events. By default each
 # tag is limited to 50 characters in length.
-- 
2.7.4