Anonymous committed d778130

Forms now passed request.FILES. Also, use keyword arguments to make things clearer and less prone to problems if people change the positional argument signature of a subclass (which you shouldn't do, btw).

Comments (0)

Files changed (1)


     if request.method == 'POST':
-        form = form_class(request.POST)
+        form = form_class(data=request.POST, files=request.FILES)
         if form.is_valid():
             new_user =
             return HttpResponseRedirect(success_url)