diff --git a/generic/views.py b/generic/views.py index 2a09ccfb..d72984f0 100644 --- a/generic/views.py +++ b/generic/views.py @@ -205,7 +205,7 @@ class ExamViews(View, LoginRequiredMixin): return False if self.app_name == "longs" and not user.groups.filter(name__in=('long_checker', 'long_marker')).exists(): return False - if self.app_name == "physics" and not user.groups.filter(name='physic_checker').exists(): + if self.app_name == "physics" and not user.groups.filter(name='physics_checker').exists(): return False if self.app_name == "sbas" and not user.groups.filter(name='sba_checker').exists(): return False @@ -226,7 +226,7 @@ class ExamViews(View, LoginRequiredMixin): return False if self.app_name == "longs" and not user.groups.filter(name__in=('long_checker')).exists(): return False - if self.app_name == "physics" and not user.groups.filter(name='physic_checker').exists(): + if self.app_name == "physics" and not user.groups.filter(name='physics_checker').exists(): return False if self.app_name == "sbas" and not user.groups.filter(name='sba_checker').exists(): return False