#16117: Provide decorators to easily mark functions/methods as list_display items or admin actions -------------------------------------+------------------------------------- Reporter: Matt Harasymczuk | Owner: Nick Pope Type: New feature | Status: closed Component: contrib.admin | Version: master Severity: Normal | Resolution: fixed Keywords: admin, actions, | Triage Stage: Ready for list_display, readonly_fields, | checkin methods, short_description, | admin_order_field, boolean, | empty_value_display, | allowed_permissions | Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>): In [changeset:"eccf40a3038bb38c4fd0e7c3ada03e7a9a02c091" eccf40a]: {{{ #!CommitTicketReference repository="" revision="eccf40a3038bb38c4fd0e7c3ada03e7a9a02c091" [3.2.x] Refs #16117 -- Made @action and @display decorators importable from django.contrib.gis.admin. Backport of 8f02a78695a6c07bc5b05499e6e6cf96bc25320f from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/16117#comment:14> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/063.c9ab10dea21a3dfe2037e20092ef85c5%40djangoproject.com.