black formatting

This commit is contained in:
2023-01-08 00:09:46 +00:00
parent eba93d87b1
commit cd28dd177d
2 changed files with 6 additions and 11 deletions

View File

@@ -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"
@@ -329,13 +329,7 @@ CKEDITOR_CONFIGS = {
"JustifyBlock", "JustifyBlock",
], ],
}, },
{ "name": "links", {"name": "links", "items": ["Link", "Unlink", "Anchor"]},
"items": [
"Link",
"Unlink",
"Anchor"
]
},
], ],
}, },
} }

View File

@@ -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]