added specific settings for development and production
This commit is contained in:
14
back_latienda/settings/production.py
Normal file
14
back_latienda/settings/production.py
Normal 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 = {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user