Changes between Initial Version and Version 1 of Ticket #19414, comment 5


Ignore:
Timestamp:
Jan 28, 2013, 12:32:48 PM (12 years ago)
Author:
BHold

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19414, comment 5

    initial v1  
    22> Why not just reuse admin.site.register? It looks like you reimplemented the method?
    33
    4 The decorator function should behave a little differently than the normal register method of the Site. For one, it should accept a 'site' argument so that a user can use it with a custom Site model. It also should be able to accept multiple models as arguments that will be all be linked to the decorated AdminClass in the Site's registry.
     4The decorator function should behave a little differently than the normal register method of the Site. For one, it should accept a 'site' argument so that a user can use it with a custom Site model. It also should be able to accept multiple models as arguments that will all be linked to the decorated AdminClass in the Site's registry.
Back to Top