#18018: MessageFailure in Django 1.4 admin
-------------------------------------+-------------------------------------
     Reporter:  Simon                |                    Owner:  nobody
         Type:  Bug                  |                   Status:  reopened
    Component:  Uncategorized        |                  Version:  1.4
     Severity:  Normal               |               Resolution:
     Keywords:  admin, messages,     |             Triage Stage:  Accepted
  failure                            |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by akaariai):

 OK, I tested upgrading from 1.3 to 1.4. In fact, things do work with the
 1.3 default settings and admin installation according to docs.

 The problem is if you have for some reason removed the !MessageMiddleware
 from the default settings (or, maybe you are upgrading from 1.x -> 1.3 ->
 1.4). In that case you will not get any warnings in 1.3, and in 1.4 things
 will not work. So, the problem is that in 1.3 !MessageMiddleware was not
 required, in 1.4 it is and the release notes (or 1.3 warnings) do not
 mention this. 1.3 docs do not mention that !MessageMiddleware is required.
 A note "make sure !MessageMiddleware is in the MIDDLEWARE_CLASSES" should
 be in release notes. As this is a rare situation, and the error message is
 clear enough when you hit it, I don't think anything more needs to be
 done.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18018#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to