Texte riche pour commentaire étudiant
This commit is contained in:
parent
703c217ec2
commit
5bb1679527
5 changed files with 22 additions and 2 deletions
|
|
@ -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 = ''
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue