diff options
| author | Preston Holmes <preston@ptone.com> | 2012-11-17 22:53:31 +0100 |
|---|---|---|
| committer | Preston Holmes <preston@ptone.com> | 2012-11-19 16:03:09 -0800 |
| commit | edf7ad36faab8d45aafe1f96feaf46794de22fc1 (patch) | |
| tree | cbafab6d93982161f9d1520e4781a7452c0e9987 /docs/releases | |
| parent | 8b659e439b51953064a7a79924b4066e08d7127d (diff) | |
Fixed #18658 -- Improved ModelAdmin.message_user API
Thanks to Lowe Thiderman for the patch and tests
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.5.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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 ===================================== |
