Able to load local_settings for production environment.
This commit is contained in:
parent
bfcfb54d1b
commit
6b7618cc54
3 changed files with 9 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@ _build/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dev.db
|
dev.db
|
||||||
.coverage
|
.coverage
|
||||||
|
pinaxcon/site_media/
|
|
@ -233,3 +233,9 @@ NOSE_ARGS = [
|
||||||
'--with-coverage',
|
'--with-coverage',
|
||||||
'--cover-package=registrasion.controllers,registrasion.models',
|
'--cover-package=registrasion.controllers,registrasion.models',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Production settings have their own file to override stuff here
|
||||||
|
try:
|
||||||
|
from local_settings import *
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
|
@ -13,7 +13,7 @@ pinax-boxes==2.1.2
|
||||||
django-nose==1.4.3
|
django-nose==1.4.3
|
||||||
coverage==4.0.3
|
coverage==4.0.3
|
||||||
|
|
||||||
# Registrasion
|
# Registrasion + Symposion
|
||||||
# Install via setuptools rather than pip
|
# Install via pip repo cloned locally
|
||||||
#registrasion==0.1.1
|
#registrasion==0.1.1
|
||||||
#https://github.com/lca2017/symposion/tarball/master#egg=symposion
|
#https://github.com/lca2017/symposion/tarball/master#egg=symposion
|
||||||
|
|
Loading…
Reference in a new issue