diff --git a/conf/config.py b/conf/config.py index 8f1d725..5be5dcc 100644 --- a/conf/config.py +++ b/conf/config.py @@ -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")