Changes between Version 74 and Version 75 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Feb 25, 2007, 2:44:46 PM (18 years ago)
Author:
Adrian Holovaty
Comment:

Updated "Changed Admin.manager option to more flexible hook"

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v74 v75  
    608608== Changed Admin.manager option to more flexible hook ==
    609609
    610 As of [4342], the {{{manager}}} option to {{{class Admin}}} no longer exists. This option was undocumented, but we're mentioning the change here in case you used it. In favor of this option, {{{class Admin}}} may now define a {{{change_list_queryset()}}} method, giving you much more flexibility.
    611 
    612 Note that this change was made to the NewformsAdminBranch branch, which is scheduled to merge to trunk by January 31. The change will not be made to trunk until that branch is merged to trunk.
     610As of [4342], the {{{manager}}} option to {{{class Admin}}} no longer exists. This option was undocumented, but we're mentioning the change here in case you used it. In favor of this option, {{{class Admin}}} may now define one of these methods:
     611
     612  * {{{queryset()}}}
     613  * {{{queryset_add()}}}
     614  * {{{queryset_change()}}}
     615
     616These give you much more flexibility.
     617
     618Note that this change was made to the NewformsAdminBranch. (We initially called the new method {{{change_list_queryset}}}, but this was changed in [4584] to be more flexible.) The change will not be made to trunk until that branch is merged to trunk.
    613619
    614620== Changed prepopulate_from to be defined in the Admin class, not database field classes ==
     
    638644}}}
    639645
    640 Note that this change was made to the NewformsAdminBranch branch, which is scheduled to merge to trunk by January 31. The change will not be made to trunk until that branch is merged to trunk.
     646Note that this change was made to the NewformsAdminBranch. The change will not be made to trunk until that branch is merged to trunk.
Back to Top