From a9027fe455078cf8e71bd7b37063708ac5dcdb7f Mon Sep 17 00:00:00 2001 From: 2020jbeutner <2020jbeutner@tjhsst.edu> Date: Fri, 7 Dec 2018 07:29:19 -0500 Subject: [PATCH] Fix typo --- tin/apps/courses/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tin/apps/courses/views.py b/tin/apps/courses/views.py index 734e67e5..b7127323 100644 --- a/tin/apps/courses/views.py +++ b/tin/apps/courses/views.py @@ -55,7 +55,7 @@ def edit_view(request, course_id): return redirect("courses:index") if request.method == "POST": - form = CourseForm(date=request.POST, instance=course) + form = CourseForm(data=request.POST, instance=course) if form.is_valid(): form.save() return redirect("courses:index")