Create ds.py
This commit is contained in:
1 parent
f804598e9e
commit
5b125ba2d7
1 file changed
+16
@@ -0,0 +1,16 @@
|
|||||||
|
class Settings():
|
||||||
|
def __init__(self) -> None:
|
||||||
|
self.secret_key='V7bvDZMztr3EU8S9g1Dipw'
|
||||||
|
self.redis_hosts = [("127.0.0.1", 6379)]
|
||||||
|
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