Skip to content

Commit

Permalink
Fixing settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ederporto committed Oct 20, 2023
1 parent 4f3fbee commit 6effd6e
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions sara/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,34 +76,6 @@

WSGI_APPLICATION = 'sara.wsgi.application'

# Database
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}
# HOME = os.environ.get('HOME')
# replica_path = HOME + '/replica.my.cnf'
# if os.path.exists(replica_path):
# config = configparser.ConfigParser()
# config.read(replica_path)
# else:
# print('replica.my.cnf file not found')
#
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.mysql',
# 'NAME': 's55346__saradb',
# 'USER': config['client']['user'],
# 'PASSWORD': config['client']['password'],
# 'HOST': 'tools.db.svc.wikimedia.cloud',
# 'PORT': '',
# }
# }

# Password validation
# https://docs.djangoproject.com/en/4.1/ref/settings/#auth-password-validators

Expand Down

0 comments on commit 6effd6e

Please sign in to comment.