mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-12-07 20:52:30 -05:00
feat: replace format with fstrings
This commit is contained in:
@@ -211,7 +211,7 @@ def contact(request):
|
||||
name = request.POST.get("name")
|
||||
message = request.POST.get("message")
|
||||
|
||||
title = "[{}] - Contact form message received".format(settings.PORTAL_NAME)
|
||||
title = f"[{settings.PORTAL_NAME}] - Contact form message received"
|
||||
|
||||
msg = """
|
||||
You have received a message through the contact form\n
|
||||
|
||||
Reference in New Issue
Block a user