Add code explation remark.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-22 00:16:18 -04:00
parent 79095a88a0
commit 76895db846

View File

@@ -286,6 +286,8 @@ class Link(object):
app_label='acls', model_name='AccessControlList'
)
# Try to get the request object the faster way and fallback to the
# slower method.
request = getattr(
context, 'request', Variable('request').resolve(context)
)