Commit 49301354 authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

CBV implementation for the edit forum post page

parent 752acd1b
......@@ -17,7 +17,12 @@ class ForumPostCreateView(CreateView):
template_name = "forum/forumpost-add.html"
fields = "__all__"
class ForumPostUpdateView(UpdateView):
model = ForumPost
template_name = "forum/forumpost-edit.html"
fields = "__all__"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment