[Pkg-graphite-maint] Bug#755638: Bug#755638: graphite-web: Please ensure it works with Django 1.7
Jonas Genannt
jonas.genannt at capi2name.de
Sat Jul 26 15:33:52 UTC 2014
Hello,
> If the current package works fine, please close this bug (or retitle it as
> a suggestion to implement Python 3 support and drop its severity to
> wishlist[1]). If it's broken, please tag it as confirmed. If it's not
> broken, but would benefit from further work, please tag it as confirmed
> but reduce the severity.
package works fine. Only wsgi file needs some tuning:
diff --git a/debian/graphite.wsgi b/debian/graphite.wsgi
index 559b558..04e4bdb 100644
--- a/debian/graphite.wsgi
+++ b/debian/graphite.wsgi
@@ -1,5 +1,7 @@
import os, sys
+import django
os.environ['DJANGO_SETTINGS_MODULE'] = 'graphite.settings'
+django.setup()
import django.core.handlers.wsgi
Will upload a new package soon.
Thanks,
Jonas
More information about the Pkg-graphite-maint
mailing list