﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18018	MessageFailure in Django 1.4 admin	Simon	nobody	"When not having the Django messages framework installed, Django 1.4 throws as exception on saving objects via the admin interface:

MessageFailure at /admin/forum/post/5/
You cannot add messages without installing django.contrib.messages.middleware.MessageMiddleware

When I disable loc 696 in contrib/admin/options.py, everything works fine:

    def message_user(self, request, message):
        """"""
        Send a message to the user. The default implementation
        posts a message using the django.contrib.messages backend.
        """"""
        # messages.info(request, message)
        pass

messages.info can only be used when the optional messages framework is installed ...?

Another minor thing:
Even with the new cookie based session backend, Django still creates a database session table. Intentionally?

Great work and thanks a lot for Django 1.4!!
"	Bug	closed	Uncategorized	1.4	Normal	invalid	admin, messages, failure		Accepted	0	0	0	0	0	0
