#18018: MessageFailure in Django 1.4 admin -------------------------------+-------------------------------------- Reporter: Simon | Owner: nobody Type: Bug | Status: new Component: Uncategorized | Version: 1.4 Severity: Normal | Keywords: admin, messages, failure Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------------------------- 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!! -- Ticket URL: <https://code.djangoproject.com/ticket/18018> 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.