Changes between Version 1 and Version 2 of Ticket #31093


Ignore:
Timestamp:
Dec 15, 2019, 8:28:30 AM (5 years ago)
Author:
James Pic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31093 – Description

    v1 v2  
    3535}}}
    3636
    37 The admin views could use this, and django.contrib.auth could provide generic views extensions which do check permissions.
     37The admin views could use this, and django.contrib.auth could provide generic views extensions which do check permissions, removing the need to share a mixin that just does return a Mixin with a get_queryset method to complement the code that they have in the permission backend. It would reduce chances to make a mistake when updating permission code if it's all at the same place, an opinion that I consider suited for a framework like Django.
Back to Top