Skip to content

Commit

Permalink
fix to make_context instead of 'RequestContext'
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel2392 committed Apr 15, 2024
1 parent 9b0e30c commit 7b5a9a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = wagtail_fedit
version = 1.5.0a1
version = 1.5.0a2
description = Frontend editing for your Wagtail site
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
2 changes: 1 addition & 1 deletion wagtail_fedit/views/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def post(self, request: HttpRequest, *args: Any, **kwargs: Any) -> HttpResponse:
context[PAGE_TEMPLATE_VAR] = self.instance

context = make_context(
self.request,
context,
self.request,
).flatten()

# Render the frame HTML
Expand Down

0 comments on commit 7b5a9a0

Please sign in to comment.