black formatting
This commit is contained in:
@@ -66,7 +66,7 @@ AUTHENTICATION_BACKENDS = [
|
||||
"django.contrib.auth.backends.ModelBackend",
|
||||
]
|
||||
|
||||
LOGIN_REDIRECT_URL = 'home'
|
||||
LOGIN_REDIRECT_URL = "home"
|
||||
LOGIN_URL = "/auth/login"
|
||||
|
||||
|
||||
@@ -317,7 +317,7 @@ CKEDITOR_CONFIGS = {
|
||||
"-",
|
||||
"Blockquote",
|
||||
"CreateDiv",
|
||||
],
|
||||
],
|
||||
},
|
||||
"/",
|
||||
{
|
||||
@@ -327,15 +327,9 @@ CKEDITOR_CONFIGS = {
|
||||
"JustifyCenter",
|
||||
"JustifyRight",
|
||||
"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,
|
||||
)
|
||||
|
||||
|
||||
def create_random_id():
|
||||
return str(uuid.uuid4())[:8]
|
||||
|
||||
Reference in New Issue
Block a user