Added some production settings. Moving to travis-ci for testing. Added feature to stop new registrations.

This commit is contained in:
Isaac Bythewood
2012-08-01 03:06:41 +00:00
parent 265777e94b
commit d92d30bb94
12 changed files with 44 additions and 111 deletions

View File

@@ -0,0 +1,18 @@
from pinry.settings import *
import os
DEBUG = False
TEMPLATE_DEBUG = DEBUG
# TODO: I recommend using psycopg2 w/ postgres but sqlite3 is good enough.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(SITE_ROOT, 'production.db'),
}
}
# TODO: Be sure to set this.
SECRET_KEY = ''