Formular gültiges django erstellt von
def form_valid(self, form):
form.instance.created_by = self.request.user
return super().form_valid(form)
Talented Thrush
def form_valid(self, form):
form.instance.created_by = self.request.user
return super().form_valid(form)