Add code explation remark.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user