1
This commit is contained in:
1 parent
b58db78b71
commit
d7f18323ad
4 files changed
+3
No files matched your search
@@ -0,0 +1,19 @@
|
||||
from datetime import timedelta
|
||||
class Settings():
|
||||
def __init__(self) -> None:
|
||||
self.secret_key='V7bvDZMztr3EU8S9g1Dipw'
|
||||
self.redis_hosts = [("127.0.0.1", 6379)]
|
||||
self.access_token_lifetime = timedelta(minutes=480)
|
||||
self.refresh_token_lifetime = timedelta(days=1)
|
||||
self.db = {
|
||||
'default':{
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': 'accounting',
|
||||
'USER': 'root',
|
||||
'PASSWORD': 'ADMIN',
|
||||
'HOST': '127.0.0.1',
|
||||
'PORT': '3306',
|
||||
}
|
||||
}
|
||||
|
||||
pass
|
||||
Reference in new issue
Block a user