def form_valid(self, form):
        form.created_by = self.request.user
        form.save()
        return HttpResponseRedirect(self.get_success_url())
Process a valid form.
dataset/ETHPy150Open ofa/connect/open_connect/accounts/views.py/InviteCreateView.form_valid