graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03899
Re: [Question #218918]: Error while adding new user via admin page
Question #218918 on Graphite changed:
https://answers.launchpad.net/graphite/+question/218918
Sebastian Cruz posted a new comment:
Hi!
I was having this exact same issue (with the same setup, Debian Wheezy)
and a python dev helped me find the solution.
You need to apply this patch https://github.com/graphite-project
/graphite-web/commit/ed6ba3a642369da4a85600508dbea14a4a6a116c
You also need to have this configuration on
/etc/graphite/local_settings.py:
from graphite.app_settings import *
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.middleware.gzip.GZipMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
)
TEMPLATE_CONTEXT_PROCESSORS = (
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.core.context_processors.static",
"django.core.context_processors.tz",
"django.contrib.messages.context_processors.messages"
)
INSTALLED_APPS = (
'graphite.metrics',
'graphite.render',
'graphite.cli',
'graphite.browser',
'graphite.composer',
'graphite.account',
'graphite.dashboard',
'graphite.whitelist',
'graphite.events',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.contenttypes',
'tagging',
'django.contrib.messages',
)
AFAIK this patch should be included in next release of graphite-web. The
original issue on github can be seen here: https://github.com/graphite-
project/graphite-web/pull/14
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.