graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #04034
[Question #227400]: Saving event in admin screen throws Django exception about "MessageMiddleware"
New question #227400 on Graphite:
https://answers.launchpad.net/graphite/+question/227400
Version 0.9.10. A fresh install by someone
I ran the /admin screen and tried to add an event via the entry page /admin/events/event. It threw the exception shown later. Please document what to create, or add it to the source. I assume it needs another INSTALLED_APPS entry.
Thanks for your time- Lance
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/admin/options.py", line 366, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 89, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/admin/sites.py", line 196, in inner
return view(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 25, in _wrapper
return bound_func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 21, in bound_func
return func(self, *args2, **kwargs2)
File "/usr/lib/python2.7/dist-packages/django/db/transaction.py", line 209, in inner
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/admin/options.py", line 958, in add_view
return self.response_add(request, new_object)
File "/usr/lib/python2.7/dist-packages/django/contrib/admin/options.py", line 791, in response_add
self.message_user(request, msg)
File "/usr/lib/python2.7/dist-packages/django/contrib/admin/options.py", line 696, in message_user
messages.info(request, message)
File "/usr/lib/python2.7/dist-packages/django/contrib/messages/api.py", line 78, in info
fail_silently=fail_silently)
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
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.