Compare commits

...

2 commits

Author SHA1 Message Date
b72a190e85 Add gitignore 2017-08-31 09:14:14 +00:00
09fe77df3e Change config to allow local settings 2017-08-31 09:10:05 +00:00
2 changed files with 5 additions and 6 deletions

1
.gitignore vendored Symbolic link
View file

@ -0,0 +1 @@
/etc/dotfiles_skel/files/.gitignore

View file

@ -12,6 +12,8 @@ https://docs.djangoproject.com/en/1.11/ref/settings/
import os import os
from .local_settings import *
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@ -20,14 +22,9 @@ SITE_ID = 1
# Quick-start development settings - unsuitable for production # Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/ # See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'jmmq3j!6kfyk^i4ms2fb)9r67ls3xc&xrfm4h2roaag#rb)z#^'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = False
ALLOWED_HOSTS = []
# Application definition # Application definition
@ -126,3 +123,4 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.11/howto/static-files/ # https://docs.djangoproject.com/en/1.11/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'public', 'static')