Skip to content

Commit

Permalink
azure run debuging 3
Browse files Browse the repository at this point in the history
  • Loading branch information
supsa-ak committed Jan 12, 2022
1 parent 8574239 commit c4b4031
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions BudMan/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
SECRET_KEY = 'django-insecure-*(#x82u)6i))!q(zfv=*v3+0=9&en+51(1i37rc=_0@6&-+&w7'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True

ALLOWED_HOSTS = ['127.0.0.1', 'budman.azurewebsites.net']

Expand Down Expand Up @@ -69,24 +69,24 @@
# Database
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}

# DATABASES = {
# 'default': {
# 'ENGINE': 'djongo',
# 'NAME': 'BudMan',
# 'ENFORCE_SCHEMA': True,
# 'CLIENT': {
# 'host': "mongodb+srv://sak:[email protected]/myFirstDatabase?retryWrites=true&w=majority",
# }
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': BASE_DIR / 'db.sqlite3',
# }
# }

DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'BudMan',
'ENFORCE_SCHEMA': True,
'CLIENT': {
'host': "mongodb+srv://sak:[email protected]/myFirstDatabase?retryWrites=true&w=majority",
}
}
}

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

Expand Down
Binary file modified requirements.txt
Binary file not shown.

0 comments on commit c4b4031

Please sign in to comment.