Skip to content

Commit 8aee89e

Browse files
committed
Fix comment indentation
1 parent 7f083c3 commit 8aee89e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cms/plugin_rendering.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def render_placeholder(placeholder, context_to_copy, name_fallback="Placeholder"
106106
template = page.template
107107
else:
108108
template = None
109-
# It's kind of duplicate of the similar call in `get_plugins`, but it's required
109+
# It's kind of duplicate of the similar call in `get_plugins`, but it's required
110110
# to have a valid language in this function for `get_fallback_languages` to work
111111
if not lang:
112112
lang = get_language_from_request(request)
@@ -120,7 +120,7 @@ def render_placeholder(placeholder, context_to_copy, name_fallback="Placeholder"
120120
plugins = [plugin for plugin in get_plugins(request, placeholder, fallback_language)]
121121
if plugins:
122122
break
123-
# Add extra context as defined in settings, but do not overwrite existing context variables,
123+
# Add extra context as defined in settings, but do not overwrite existing context variables,
124124
# since settings are general and database/template are specific
125125
# TODO this should actually happen as a plugin context processor, but these currently overwrite
126126
# existing context -- maybe change this order?

0 commit comments

Comments
 (0)