Skip to content

Commit

Permalink
Merge pull request #313 from gnuboard/fix/template_response
Browse files Browse the repository at this point in the history
fix: TemplateResponse 인자 오류 추가 수정
  • Loading branch information
KimTom89 authored Jan 17, 2024
2 parents 581da53 + c99aeee commit d32f975
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion core/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,15 @@ def TemplateResponse(
self.env.loader = FileSystemLoader(self.default_directories)
self._is_mobile = is_mobile

return super().TemplateResponse(name, context, status_code, headers, media_type, background)
return super().TemplateResponse(
name=name,
context=context,
status_code=status_code,
headers=headers,
media_type=media_type,
background=background
)



class AdminTemplates(Jinja2Templates):
Expand Down

0 comments on commit d32f975

Please sign in to comment.