black formatting
This commit is contained in:
@@ -66,7 +66,7 @@ AUTHENTICATION_BACKENDS = [
|
|||||||
"django.contrib.auth.backends.ModelBackend",
|
"django.contrib.auth.backends.ModelBackend",
|
||||||
]
|
]
|
||||||
|
|
||||||
LOGIN_REDIRECT_URL = 'home'
|
LOGIN_REDIRECT_URL = "home"
|
||||||
LOGIN_URL = "/auth/login"
|
LOGIN_URL = "/auth/login"
|
||||||
|
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ MEDIA_ROOT = os.path.join(BASE_DIR, "files/")
|
|||||||
MEDIA_URL = "files/"
|
MEDIA_URL = "files/"
|
||||||
|
|
||||||
|
|
||||||
# GLOBALIZATION
|
# GLOBALIZATION
|
||||||
LANGUAGE_CODE = "de-at"
|
LANGUAGE_CODE = "de-at"
|
||||||
LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")]
|
LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")]
|
||||||
TIME_ZONE = "CET"
|
TIME_ZONE = "CET"
|
||||||
@@ -317,7 +317,7 @@ CKEDITOR_CONFIGS = {
|
|||||||
"-",
|
"-",
|
||||||
"Blockquote",
|
"Blockquote",
|
||||||
"CreateDiv",
|
"CreateDiv",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
"/",
|
"/",
|
||||||
{
|
{
|
||||||
@@ -327,15 +327,9 @@ CKEDITOR_CONFIGS = {
|
|||||||
"JustifyCenter",
|
"JustifyCenter",
|
||||||
"JustifyRight",
|
"JustifyRight",
|
||||||
"JustifyBlock",
|
"JustifyBlock",
|
||||||
],
|
],
|
||||||
},
|
|
||||||
{ "name": "links",
|
|
||||||
"items": [
|
|
||||||
"Link",
|
|
||||||
"Unlink",
|
|
||||||
"Anchor"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
|
{"name": "links", "items": ["Link", "Unlink", "Anchor"]},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,5 +25,6 @@ def add_log_action(request, form, app_label, model, add=True):
|
|||||||
change_message=change_message,
|
change_message=change_message,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def create_random_id():
|
def create_random_id():
|
||||||
return str(uuid.uuid4())[:8]
|
return str(uuid.uuid4())[:8]
|
||||||
|
|||||||
Reference in New Issue
Block a user