I need to make the typed text appear as the authenticated user, but when sending it is only in the Publication class, when I enter the user’s publications page, it does not appear.
Please don’t use images of text. Instead, copy and paste the code within the code blocks. You can create them by using three leading backticks
``` and three trailing backticks.
ModelForm? If so, could use that to your advantage because if you call
form.save() it will create the instance of the Model.
user = Colaborador.objects.get(...) form.instance.postador = user mensag = form.save() return super().form_valid(form)
PublicacaoForm is done on Forms.py