added configuration files for easier installation

This commit is contained in:
Arthur Gerbaud
2016-11-04 10:01:01 +01:00
parent de045e2ec6
commit dcb87dde49
2 changed files with 64 additions and 0 deletions

40
settings.py Normal file
View File

@@ -0,0 +1,40 @@
from .base_settings import *
# Added settings
INSTALLED_APPS += [
# Design
'bootstrap3',
'django_select2',
# Search Engine
'watson',
# Project apps
'maraudes',
'sujets',
'notes',
'suivi',
'utilisateurs',
'website',
]
LOGIN_URL = 'index'
BOOTSTRAP3 = {
# The URL to the jQuery JavaScript file
'base_url': os.path.join(STATIC_URL, 'bootstrap/'),
'jquery_url': '//code.jquery.com/jquery.min.js',
'include_jquery': True,
# Label class to use in horizontal forms
'horizontal_label_class': 'col-md-2',
# Field class to use in horizontal forms
'horizontal_field_class': 'col-md-10',
}
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
AUTHENTICATION_BACKENDS = [
'website.backends.MyBackend'
]