Skip to content

Commit

Permalink
Fix the protected view in staticfileserver
Browse files Browse the repository at this point in the history
Staticfileserver is only used in local testing when there is
no reverse proxy server (NGINX).

Unpacking keyword arguments requires two asterisks `**`.
  • Loading branch information
markkuriekkinen committed Jun 16, 2022
1 parent 4af413b commit 5125962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staticfileserver/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ def serve(request, path):
except:
raise Http404()

return view(request, *args, *kwargs)
return view(request, *args, **kwargs)

0 comments on commit 5125962

Please sign in to comment.