commit
e54c8d859d
8
.travis.yml
Normal file
8
.travis.yml
Normal file
@ -0,0 +1,8 @@
|
||||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
install: "pip install -r requirements.txt"
|
||||
|
||||
script:
|
||||
- python manage.py collectstatic --noinput
|
||||
- python manage.py test
|
15
settings.py
15
settings.py
@ -178,8 +178,21 @@
|
||||
'US': 'United States',
|
||||
}
|
||||
|
||||
# Make this unique, and don't share it with anybody.
|
||||
SECRET_KEY = '00000000000000000000000000000000000000000000000'
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE' : 'django.db.backends.sqlite3',
|
||||
'NAME' : 'database.db',
|
||||
},
|
||||
}
|
||||
|
||||
## Import local settings
|
||||
from local_settings import *
|
||||
try:
|
||||
from local_settings import *
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
# Enable caching templates in production environments
|
||||
if not TEMPLATE_DEBUG:
|
||||
|
Loading…
Reference in New Issue
Block a user