def form valid

Solutions on MaxInterview for def form valid by the best coders in the world

showing results for - "def form valid"
Henry
23 Oct 2020
1def form_valid(self, form):
2	form.instance.user = self.request.user
3    super(Your_View, self).form_valid(form)
4    return redirect('home')
similar questions
django form valid