1
0
Fork 0

Check permissions automatically on form save

This commit is contained in:
Mouse Reeve 2022-08-05 09:51:55 -07:00
parent 2894aa37a2
commit 8f79b362f8
10 changed files with 19 additions and 23 deletions

View file

@ -159,7 +159,7 @@ class ReadThrough(View):
models.ReadThrough, id=request.POST.get("id")
)
return TemplateResponse(request, "readthrough/readthrough.html", data)
form.save()
form.save(request)
return redirect("book", book_id)