Hi guys,
I'm new to DRF, and I'm trying to add CSRF token validation in my Web API
application.
I have added the
```
{% csrf_token %}
```
inside of view body.
DJANGO is adding an automatic hidden field with a CSRF token as a value.
Is that the correct way on the client side?
Also, do I h
I am using Django rest framework. I had a rest URL when i call that URL at
a time from various 3, 4 streaming client, I got a response from only one
client remaining client not responding me for that purpose only I want to
know how to use multithreading in Django rest framework? how to resolve
Hi Joseph, does this work?
https://www.django-rest-framework.org/api-guide/serializers/#including-extra-context
https://micropyramid.com/blog/django-rest-framework-send-extra-context-data-to-serializers/
El lun., 11 mar. 2019 a las 14:31, Joseph Peck ()
escribió:
> Even though it was tangential
Hey, Trong.
About your virtual environment, in Windows usualy you activate the env with
a command like
.\env\Scripts\activate
No need for `python -m source`
If you are using Linux, you would do
source /env/bin/activate
Are you sure you are activating your environment?
Em domingo, 10 de fev