From f89a35b28c768cdae6448bcb8ca827f62fef2c2d Mon Sep 17 00:00:00 2001 From: Zambom Date: Wed, 28 Sep 2016 22:31:36 -0300 Subject: [PATCH] Add post creation [Issue: #74] --- courses/templates/subject/form_view_teacher.html | 10 ---------- forum/forms.py | 15 ++++++++++++++- forum/static/js/forum.js | 18 ++++++++++++++++++ forum/templates/forum/forum_list.html | 41 ++++++++++++++++++++++++++++++++++++++++- forum/templates/post/post_render.html | 30 ++++++++++++++++++++++++++++++ forum/templates/post_answers/post_answer_form.html | 2 +- forum/urls.py | 2 ++ forum/views.py | 37 +++++++++++++++++++++++++++++++++++-- requirements.txt | 1 - 9 files changed, 140 insertions(+), 16 deletions(-) create mode 100644 forum/templates/post/post_render.html diff --git a/courses/templates/subject/form_view_teacher.html b/courses/templates/subject/form_view_teacher.html index 0528bef..f36f650 100644 --- a/courses/templates/subject/form_view_teacher.html +++ b/courses/templates/subject/form_view_teacher.html @@ -32,16 +32,6 @@