Skip to content

Commit

Permalink
Add missing context variable
Browse files Browse the repository at this point in the history
  • Loading branch information
John Solly committed Jul 22, 2023
1 parent 55efa0a commit 8550b25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django_project/blog/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ def get_context_data(self, *args, **kwargs):
post = self.get_object()
context["post"] = post
context["title"] = f"Edit {post.title}"
context["description"] = f"Edit {post.title}"
return context


Expand Down

0 comments on commit 8550b25

Please sign in to comment.