added specific settings for development and production

This commit is contained in:
Sam
2021-01-21 10:42:42 +00:00
parent adb1371599
commit 5c4c004faf
4 changed files with 37 additions and 19 deletions

View File

@@ -0,0 +1,14 @@
from back_latienda.settings.base import *
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
ALLOWED_HOSTS = ['127.0.0.1:8000', 'localhost']
# Database
# https://docs.djangoproject.com/en/2.2/ref/settings/#databases
# Databases configuration
DATABASES = {
}