#19414: Add a "register" class decorator for admin.
-------------------------------+------------------------------------
     Reporter:  stavros        |                    Owner:  BHold
         Type:  New feature    |                   Status:  new
    Component:  contrib.admin  |                  Version:  1.4
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by BHold):

 Replying to [comment:6 stavros]:
 > Sure, but you don't have to reimplement the whole admin.site.register
 method, you can just wrap it and add the extra functionality needed.

 True, I pushed up a new commit that does just that! What do you think?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19414#comment:7>
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to