This commit is contained in:
Administrator
2023-09-23 16:13:11 +03:00
commit 9e7fc7b4c1
605 changed files with 78660 additions and 0 deletions

12
web/views/logout.py Normal file
View File

@@ -0,0 +1,12 @@
from django.contrib.auth import logout
from BaseLib.BaseView import BaseView
class LogoutView(BaseView):
required_login = True
endpoint = 'logout'
def get(self):
logout(self.request)
return '/welcome'