Create ds.py

This commit is contained in:
iriska-gri committed 2024-05-15 15:30:40 +03:00
1 parent f804598e9e
commit 5b125ba2d7
1 file changed
+16
+16
View File
@@ -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