← Back to team overview

graphite-dev team mailing list archive

[Question #218918]: Error while adding new user via admin page

 

New question #218918 on Graphite:
https://answers.launchpad.net/graphite/+question/218918

If I try to add new "normal" (not LDAP authorization) user via http://my-graphite-server/admin/ at the end I've got an error screen and no user is added.  The last error from the error's list:

File "/usr/lib/python2.7/dist-packages/django/contrib/messages/api.py", line 22, in add_message
    raise MessageFailure('You cannot add messages without installing '
MessageFailure: You cannot add messages without installing django.contrib.messages.middleware.MessageMiddleware

django.contrib.messages.middleware.MessageMiddleware is installed and included into the django config:

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
#     'django.middleware.http.ConditionalGetMiddleware',
#     'django.middleware.gzip.GZipMiddleware',
)

The system is Debian testing, python 2.7, django 1.4.3-1

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.