# Deduction views
* refactors deduction views on interventions and eco accounts from function to class based * introduces basic checks on shared access and permission on BaseView on dispatching --> checks shall be overwritten on inheriting classes
This commit is contained in:
@@ -102,7 +102,7 @@ def new_view(request: HttpRequest):
|
||||
|
||||
class InterventionIdentifierGeneratorView(LoginRequiredMixin, BaseIdentifierGeneratorView):
|
||||
_MODEL_CLS = Intervention
|
||||
_REDIRECT_URL_NAME = "intervention:index"
|
||||
_REDIRECT_URL = "intervention:index"
|
||||
|
||||
|
||||
@login_required
|
||||
|
||||
Reference in New Issue
Block a user