Changes between Version 1 and Version 2 of Ticket #31093
- Timestamp:
- Dec 15, 2019, 8:28:30 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31093 – Description
v1 v2 35 35 }}} 36 36 37 The admin views could use this, and django.contrib.auth could provide generic views extensions which do check permissions .37 The 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.