mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
c8031363ae
While here, pet portlint and improve pkg-message a bit Reported by: brd
15 lines
446 B
Plaintext
15 lines
446 B
Plaintext
--- 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()
|
|
|