6👍
✅
It looks like you need to add the following to your TicketCreate
class in the form_valid
function:
form.instance.user = Profile.objects.get(user=self.request.user)
Let me know if that works!
Source:stackexchange.com