Texte riche pour commentaire étudiant

This commit is contained in:
Claude Paroz 2019-02-06 17:32:31 +01:00
parent 703c217ec2
commit 5bb1679527
5 changed files with 22 additions and 2 deletions

View file

@ -92,6 +92,7 @@ INSTALLED_APPS = (
'django.contrib.staticfiles',
'django.contrib.admin',
'django_summernote',
'tabimport',
'stages',
'candidats',
@ -106,6 +107,19 @@ ALLOWED_HOSTS = ['localhost', 'stages.pierre-coullery.ch']
# candidats admin shows confirmation_date readonly field twice.
SILENCED_SYSTEM_CHECKS = ['admin.E012']
SUMMERNOTE_CONFIG = {
'summernote': {
'toolbar': [
# [groupName, [list of button]]
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
]
}
}
FABRIC_HOST = 'gestion.pierre-coullery.ch'
FABRIC_USERNAME = ''