# Refactoring team views

* refactors team views
* split views.py into users.py and teams.py in users app
* refactors method headers for _user_has_permission()
* adds method and class comments and documentation to base view classes
This commit is contained in:
2025-11-05 10:12:49 +01:00
parent bc2e901ca9
commit f122778232
33 changed files with 519 additions and 314 deletions
+1 -1
View File
@@ -14,5 +14,5 @@ from konova.views.log import AbstractLogView
class EmaLogView(LoginRequiredMixin, AbstractLogView):
_MODEL_CLS = Ema
def _user_has_permission(self, user):
def _user_has_permission(self, user, **kwargs):
return user.is_ets_user()