Answer the question
In order to leave comments, you need to log in
Partial injection of VueJS in Django application, how to deal with authentication?
In general, I decided to add comments without reloading the page, wrote the corresponding API using DRF and decided to use it in VueJS.
I ran into a problem that I don’t know what to do with the user’s session because the comment is assigned to a specific user, and through the API I cannot transfer this user.
I need to know at least in theory where to go, I'm sure that someone has already come across a similar one.
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