#34724: Allow passing kwargs to django.contrib.admin.decorators.display
----------------------------------+--------------------------------------
     Reporter:  Abdullah Alaqeel  |                    Owner:  nobody
         Type:  New feature       |                   Status:  closed
    Component:  contrib.admin     |                  Version:  dev
     Severity:  Normal            |               Resolution:  wontfix
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

 * cc: Nick Pope (added)
 * status:  new => closed
 * resolution:   => wontfix
 * easy:  1 => 0


Comment:

 > I know that creating a custom decorator (either by the users or the
 package maintainers) is trivial but I think there is value to the
 community to add the kwargs support natively.

 Thanks for the ticket, however I don't agree. Custom `kwargs` need to be
 handled somehow, and Django (i.e. `@admin.display`) will not handle them
 for users, which can cause confusion (check out #20744).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34724#comment:1>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701896f6e8324-e5833c58-0c32-4814-b739-bc7ff71e9a9c-000000%40eu-central-1.amazonses.com.

Reply via email to