Commits

ubernostrum  committed 1f6add3

Explicitly use the 'data' keyword argument

  • Participants
  • Parent commits ea610f1

Comments (0)

Files changed (1)

         return redirect_to_login(request.path)
 
     if request.method == 'POST':
-        form = form_class(request.POST, request=request)
+        form = form_class(data=request.POST, request=request)
         if form.is_valid():
             form.save()
             return HttpResponseRedirect(success_url)