mirror of
https://github.com/pinry/pinry.git
synced 2025-11-14 00:55:43 +01:00
Added some production settings. Moving to travis-ci for testing. Added feature to stop new registrations.
This commit is contained in:
18
pinry/settings/production.py
Normal file
18
pinry/settings/production.py
Normal 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 = ''
|
||||
Reference in New Issue
Block a user