mirror of
https://github.com/YunoHost-Apps/pytition_ynh.git
synced 2024-09-03 20:16:08 +02:00
Fix config.py, tinymce_url does not need to be set anymore
This commit is contained in:
parent
ec6b2172a6
commit
6f962504a2
1 changed files with 4 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
|
||||
from pytition.settings.base import *
|
||||
|
||||
SECRET_KEY = '__SECRET_KEY__'
|
||||
|
@ -26,12 +30,6 @@ ALLOWED_HOSTS = ['127.0.0.1', 'localhost', '[::1]', '__DOMAIN__']
|
|||
# #
|
||||
#################################
|
||||
|
||||
import os
|
||||
|
||||
# This needs to be redefined because STATIC_URL might be set in this config
|
||||
# after TINYMCE_JS_URL was defined
|
||||
TINYMCE_JS_URL = STATIC_URL + TINYMCE_JS_PATH
|
||||
|
||||
if DEFAULT_INDEX_THUMBNAIL == "":
|
||||
print("Please set a default index thumbnail or your index page will not be very beautiful")
|
||||
|
||||
|
|
Loading…
Reference in a new issue