mirror of
https://github.com/jazzband/django-authority.git
synced 2026-05-05 06:04:45 +00:00
refs #2: Fixed a problem with named parameters.
This commit is contained in:
parent
d9401ec354
commit
0c47ab2f4e
1 changed files with 5 additions and 2 deletions
|
|
@ -109,5 +109,8 @@ def permission_denied(request, template_name=None, extra_context=None):
|
|||
}
|
||||
if extra_context:
|
||||
context.update(extra_context)
|
||||
return HttpResponseForbidden(loader.render_to_string(template_name,
|
||||
context, request))
|
||||
return HttpResponseForbidden(loader.render_to_string(
|
||||
template_name=template_name,
|
||||
context=context,
|
||||
request=request,
|
||||
))
|
||||
|
|
|
|||
Loading…
Reference in a new issue