thejagstudio commited on
Commit
f00e40e
1 Parent(s): d5111e0

Update cloudStorage/settings.py

Browse files
Files changed (1) hide show
  1. cloudStorage/settings.py +1 -10
cloudStorage/settings.py CHANGED
@@ -76,16 +76,7 @@ WSGI_APPLICATION = 'cloudStorage.wsgi.application'
76
  # Database
77
  # https://docs.djangoproject.com/en/4.0/ref/settings/#databases
78
 
79
- DATABASES = {
80
- 'default': {
81
- 'ENGINE': 'django.db.backends.postgresql',
82
- 'NAME': 'postgres',
83
- 'USER': 'postgres.dfnawdyzwhxsjsyvlgbi',
84
- 'PORT': 5432,
85
- 'PASSWORD': 'luwNgwCcDNLbZ5qt',
86
- 'HOST': 'aws-0-ap-south-1.pooler.supabase.com',
87
- }
88
- }
89
  # DATABASES = {
90
  # 'default': {
91
  # 'ENGINE': 'django.db.backends.sqlite3',
 
76
  # Database
77
  # https://docs.djangoproject.com/en/4.0/ref/settings/#databases
78
 
79
+ DATABASES = os.environ.get('database')
 
 
 
 
 
 
 
 
 
80
  # DATABASES = {
81
  # 'default': {
82
  # 'ENGINE': 'django.db.backends.sqlite3',