Ajout timymce
This commit is contained in:
@@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-j4jd&+4j^t_=@zr(#q@n!8e*58vkql6&_6w-t14ju8pw%ei%^s
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
cfg_dev_mode = False
|
||||
cfg_dev_mode = True
|
||||
|
||||
ALLOWED_HOSTS = ["rh.ambulance-clerc.ch"]
|
||||
if cfg_dev_mode:
|
||||
@@ -48,7 +48,9 @@ INSTALLED_APPS = [
|
||||
'custom_admin.apps.CustomAdminConfig',
|
||||
'rangefilter',
|
||||
'django.contrib.admin',
|
||||
|
||||
'carnet_rouge.apps.CarnetRougeConfig',
|
||||
#'nextcloud.apps.NextcloudConfig',
|
||||
'tinymce',
|
||||
|
||||
]
|
||||
|
||||
@@ -290,3 +292,10 @@ JAZZMIN_SETTINGS = {
|
||||
# Add a language dropdown into the admin
|
||||
"language_chooser": False,
|
||||
}
|
||||
|
||||
|
||||
if cfg_dev_mode:
|
||||
NEXTCLOUD_HOST = "cloud.ambulance-clerc.ch"
|
||||
else:
|
||||
NEXTCLOUD_HOST = "cloud.ambulance-clerc.ch"
|
||||
NEXTCLOUD_USER_DEFAULT_PASSWORD = "Mc144*1870"
|
||||
|
||||
@@ -23,4 +23,5 @@ urlpatterns = [
|
||||
path('vehicules/', include('vehicles.urls')),
|
||||
path('caldav/', include('mycaldav.urls')),
|
||||
#path('collabs_hour/', include('collabs.urls')),
|
||||
path('tinymce/', include('tinymce.urls')),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user