Покрасивее фон
This commit is contained in:
1 parent
689fd34a62
commit
19d248721c
6 files changed
+99
-46
No files matched your search
@@ -59,7 +59,10 @@ class CustomAuth(ModelBackend):
|
||||
# if True:
|
||||
status_code=resp.status_code
|
||||
else:
|
||||
|
||||
status_code=200
|
||||
# status_code=403
|
||||
|
||||
|
||||
if status_code==200:
|
||||
# try:
|
||||
@@ -92,7 +95,8 @@ class CustomAuth(ModelBackend):
|
||||
|
||||
# except Exception as e:
|
||||
# print (e)
|
||||
elif status_code==403:
|
||||
return None
|
||||
# elif status_code==403:
|
||||
# print('loh')
|
||||
# return None
|
||||
|
||||
|
||||
Reference in new issue
Block a user