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

@@ -3,6 +3,7 @@ from django.contrib.messages import constants as messages
SITE_NAME = 'Pinry'
ALLOW_NEW_REGISTRATIONS = True
SITE_ROOT = os.path.join(os.path.realpath(os.path.dirname(__file__)), '../../')
@@ -46,7 +47,6 @@ TEMPLATE_CONTEXT_PROCESSORS = (
)
ROOT_URLCONF = 'pinry.urls'
WSGI_APPLICATION = 'pinry.wsgi.application'
LOGIN_REDIRECT_URL = '/'
INTERNAL_IPS = ['127.0.0.1']
MESSAGE_TAGS = {