Merge branch 'develop' into 4651-csrf-in-plugintemplateextension

This commit is contained in:
Jeremy Stretch 2020-05-26 09:02:39 -04:00 committed by GitHub
commit 4545c15173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ def _get_registered_content(obj, method, template_context):
'request': template_context['request'], 'request': template_context['request'],
'settings': template_context['settings'], 'settings': template_context['settings'],
'csrf_token': template_context['csrf_token'], 'csrf_token': template_context['csrf_token'],
'perms': template_context['perms'],
} }
model_name = obj._meta.label_lower model_name = obj._meta.label_lower