Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ixnur committed Aug 25, 2023
1 parent 4a3cd90 commit b3634c2
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions envanter/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/


ALLOWED_HOSTS = []
ALLOWED_HOSTS = [37.148.211.112]


# Application definition
Expand Down Expand Up @@ -67,15 +67,14 @@
WSGI_APPLICATION = 'envanter.wsgi.application'


# Database
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases
#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': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}


# Password validation
Expand Down

0 comments on commit b3634c2

Please sign in to comment.