mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Disable eboutic in counter click/main
This commit is contained in:
1 parent
9c93c004ec
commit
2e5e217842
3 files changed
+19
-1
No files matched your search
@@ -43,6 +43,9 @@ class CounterMain(
|
||||
)
|
||||
current_tab = "counter"
|
||||
|
||||
def get_queryset(self):
|
||||
return super().get_queryset().exclude(type="EBOUTIC")
|
||||
|
||||
def post(self, request, *args, **kwargs):
|
||||
self.object = self.get_object()
|
||||
if self.object.type == "BAR" and not (
|
||||
|
||||
Reference in new issue
Block a user