Answer the question
In order to leave comments, you need to log in
How to find out from which user (id) the request came from?
I have a class in views.py
class ResumesCreate(LoginRequiredMixin, CreateView):
model = ResumesModel
form_class = ResumesForm
template_name = "work/create.html"
def form_valid(self, form):
fields = form.save(commit=False)
fields.client_id =
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question