diff options
| author | Steve Wills <swills@FreeBSD.org> | 2014-09-14 03:58:14 +0000 |
|---|---|---|
| committer | Steve Wills <swills@FreeBSD.org> | 2014-09-14 03:58:14 +0000 |
| commit | c8031363ae109f711e28caed42e692ac90dd2c7b (patch) | |
| tree | f486f5f7be65672bdedfb6a94c883914d47bf54a /www/py-graphite-web/files/patch-conf__graphite.wsgi.example | |
| parent | www/rubygem-rails4: create port for rails4 (diff) | |
www/py-graphite-web: add patches to make graphite work with django 1.7
While here, pet portlint and improve pkg-message a bit
Reported by: brd
Diffstat (limited to 'www/py-graphite-web/files/patch-conf__graphite.wsgi.example')
| -rw-r--r-- | www/py-graphite-web/files/patch-conf__graphite.wsgi.example | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/www/py-graphite-web/files/patch-conf__graphite.wsgi.example b/www/py-graphite-web/files/patch-conf__graphite.wsgi.example index 6bcac678d6ae..6ddea150fd81 100644 --- a/www/py-graphite-web/files/patch-conf__graphite.wsgi.example +++ b/www/py-graphite-web/files/patch-conf__graphite.wsgi.example @@ -1,9 +1,14 @@ ---- ./conf/graphite.wsgi.example.orig 2013-08-21 17:11:04.000000000 +0000 -+++ ./conf/graphite.wsgi.example 2014-02-12 20:50:27.343398788 +0000 -@@ -1,5 +1,5 @@ +--- conf/graphite.wsgi.example.orig 2013-08-21 17:11:04.000000000 +0000 ++++ conf/graphite.wsgi.example 2014-09-14 03:30:45.456594225 +0000 +@@ -1,8 +1,10 @@ import os, sys -sys.path.append('/opt/graphite/webapp') +sys.path.append('%%PREFIX%%/graphite/webapp') os.environ['DJANGO_SETTINGS_MODULE'] = 'graphite.settings' ++import django import django.core.handlers.wsgi ++django.setup() + + application = django.core.handlers.wsgi.WSGIHandler() + |
