Commits

Simon Meers committed cd0e3f3

use pretty field names

Comments (0)

Files changed (1)

generic/admin/mixins.py

             self.message_user(
                 request,
                 u'Updated fields (%s) for %d %s' % (
-                    ', '.join(form.fields_to_update),
+                    u', '.join(
+                        [
+                            self.model._meta.get_field(name).verbose_name
+                            for name in form.fields_to_update
+                        ]
+                    ),
                     updated,
                     unicode(
                         self.model._meta.verbose_name if len(ids) == 1 else