diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2020-04-16 10:26:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-16 11:26:33 +0200 |
| commit | 058b38b43ea4726be2914ecc967b8fb1da47d995 (patch) | |
| tree | 50911b2d7eb64defa654aa0908b5bbd1069d1450 /tests/admin_inlines/models.py | |
| parent | daabb102c059119504dc6c78a2e2dc62c9d572b8 (diff) | |
Improved message example in admin actions documentation.
Avoid partial string construction and make use of ``ngettext`` to show
example of how to handle plural variants with translations. Also make
use of ``messages.SUCCESS`` to highlight customizing the style of the
message - in this case it better fits what the message is conveying.
Diffstat (limited to 'tests/admin_inlines/models.py')
0 files changed, 0 insertions, 0 deletions
