W
W
WhiteJamer2020-01-28 17:35:30
Django
WhiteJamer, 2020-01-28 17:35:30

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

1 answer(s)
S
Sergey Gornostaev, 2020-01-28
@Whitejamer

DRF: Authentication

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question