Changes between Version 4 and Version 5 of NewformsAdminBranch


Ignore:
Timestamp:
Jan 14, 2007, 2:50:31 PM (18 years ago)
Author:
Adrian Holovaty
Comment:

Added note about permission hooks

Legend:

Unmodified
Added
Removed
Modified
  • NewformsAdminBranch

    v4 v5  
    3333|| Changed admin URLconf so that the five model-specific views ({{{change_list}}}, {{{add_stage}}}, {{{history}}}, {{{delete_stage}}}, {{{change_stage}}}) point to the {{{class Admin}}} in the appropriate model, rather than pointing at the {{{django.contrib.admin}}} view functions. || Done in [4315] ||
    3434|| Create a class {{{django.contrib.admin.views.main.ModelAdminView}}}, which will implement the admin hooks for a particular model. || Done in [4315] ||
     35|| Implement {{{has_add_permission()}}}, {{{has_change_permission()}}} and {{{has_delete_permission()}}} hooks on {{{ModelAdminView}}}, so people can implement specific permission logic (such as per-object permissions). || Done in [4324] ||
    3536|| Change model infastructure/metaclass so that the inner {{{class Admin}}} automatically subclasses {{{ModelAdminView}}}. (This is a bit of black magic, but it's necessary for backwards compatibility. We may require an explicit subclass declaration in the future.) || Not done ||
    3637|| Implement {{{ModelAdminView.add_view}}}, using newforms instead of the automatic manipulator. || Not done ||
Back to Top