implements login view

This commit is contained in:
Gardient
2021-09-19 22:15:08 +03:00
parent 404dbb6870
commit cc44c4056e
5 changed files with 46 additions and 1 deletions

4
api/login/models.py Normal file
View File

@@ -0,0 +1,4 @@
class TokenResponse(object):
def __init__(self, token: str) -> None:
super().__init__()
self.token = token