From edf7ad36faab8d45aafe1f96feaf46794de22fc1 Mon Sep 17 00:00:00 2001 From: Preston Holmes Date: Sat, 17 Nov 2012 22:53:31 +0100 Subject: Fixed #18658 -- Improved ModelAdmin.message_user API Thanks to Lowe Thiderman for the patch and tests --- docs/releases/1.5.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/releases') diff --git a/docs/releases/1.5.txt b/docs/releases/1.5.txt index 5d5902d45d..b73bb041e9 100644 --- a/docs/releases/1.5.txt +++ b/docs/releases/1.5.txt @@ -313,6 +313,11 @@ Django 1.5 also includes several smaller improvements worth noting: DeprecationWarnings should be printed to the console in development environments the way they have been in Python versions < 2.7. +* The API for :meth:`django.contrib.admin.ModelAdmin.message_user` method has + been modified to accept additional arguments adding capabilities similar to + :func:`django.contrib.messages.add_message`. This is useful for generating + error messages from admin actions. + Backwards incompatible changes in 1.5 ===================================== -- cgit v1.3