refactor: Formatting
This commit is contained in:
parent
7c6bb94f36
commit
bb45f598a0
@ -107,11 +107,11 @@ def about(request):
|
|||||||
legal = {}
|
legal = {}
|
||||||
for text_code in ["terms_of_service", "privacy_statement", "imprint"]:
|
for text_code in ["terms_of_service", "privacy_statement", "imprint"]:
|
||||||
try:
|
try:
|
||||||
legal[text_code] = Text.objects.get(text_code=text_code, language=lang,)
|
legal[text_code] = Text.objects.get(text_code=text_code, language=lang, )
|
||||||
except Text.DoesNotExist:
|
except Text.DoesNotExist:
|
||||||
legal[text_code] = None
|
legal[text_code] = None
|
||||||
|
|
||||||
context = {"rules": rules,}
|
context = {"rules": rules, }
|
||||||
context.update(legal)
|
context.update(legal)
|
||||||
return render(
|
return render(
|
||||||
request,
|
request,
|
||||||
|
Loading…
Reference in New Issue
Block a user