User Tools

Site Tools


soft:server-installation-local_settings

local_settings.py example

from controller.utils.apps import add_app, remove_app
from settings import *
 
# Disable VCT customizations
VCT_VM_MANAGEMENT = False
VCT_LOCAL_FILES = False
 
# Remove VCT application completely
#INSTALLED_APPS = remove_app(INSTALLED_APPS, 'vct')
 
# Install more confine-controller applications
INSTALLED_APPS = add_app(INSTALLED_APPS, 'registration')
INSTALLED_APPS = add_app(INSTALLED_APPS, 'communitynetworks')
INSTALLED_APPS = add_app(INSTALLED_APPS, 'issues')
#INSTALLED_APPS = add_app(INSTALLED_APPS, 'gis')
INSTALLED_APPS = add_app(INSTALLED_APPS, 'captcha')
INSTALLED_APPS = add_app(INSTALLED_APPS, 'django_google_maps')
 
# Print sent emails to standard output
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
 
# Enable Django Debug Toolbar
# pip install django-debug-toolbar==dev
INSTALLED_APPS = add_app(INSTALLED_APPS, 'debug_toolbar')
MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + (
    'debug_toolbar.middleware.DebugToolbarMiddleware',
)
# Put here your current IP address otherwise the toolbar will not appear to you
INTERNAL_IPS = ('147.228.16.219',)
soft/server-installation-local_settings.txt · Last modified: 2014/05/12 11:36 by santiago