Hi, Carl !
It is very strange you use DRF inside async operations because DRF is sync
and, respectively, blocks the loop.
Could you please provide some code example ?

пт, 22 нояб. 2019 г. в 16:14, Carl Nobile <[email protected]>:

> I do async all the time with DRF, sometimes I have DB connection issues,
> but for the most part it all works fine.
>
>
> On Fri, Nov 22, 2019 at 8:12 AM Xavier Ordoquy <[email protected]>
> wrote:
>
>> What about it ?
>> I don’t think DRF we use anything that is async incompatible outside
>> Django itself.
>>
>> Regards,
>> Xavier O.
>> Linovia.
>>
>> Le 22 nov. 2019 à 14:10, Dennis <[email protected]> a écrit :
>>
>> As per Andrew Godwin presentation at DjangoCon2019 the plan is:
>> - 3.0 --> ASGI server, ASGIHandler
>> - 3.1 --> Async Views
>> - 3.2/4.0 --> Async ORM
>>
>> What about DRF ?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django REST framework" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-rest-framework/774dbd4d-b368-4dd5-87b6-d660f137fa3d%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-rest-framework/774dbd4d-b368-4dd5-87b6-d660f137fa3d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django REST framework" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-rest-framework/375CA8DD-6326-42D3-8D8D-BF043C165D0C%40linovia.com
>> <https://groups.google.com/d/msgid/django-rest-framework/375CA8DD-6326-42D3-8D8D-BF043C165D0C%40linovia.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
>
> -------------------------------------------------------------------------------
> Carl J. Nobile (Software Engineer)
> [email protected]
>
> -------------------------------------------------------------------------------
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django REST framework" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-rest-framework/pE_oLgnaRsE/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-rest-framework/CAGQqDQ%2Bdxh5ydYsJ%3DaDBXyibkjbs251nwxJJ4-s4LYjUDoxupQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-rest-framework/CAGQqDQ%2Bdxh5ydYsJ%3DaDBXyibkjbs251nwxJJ4-s4LYjUDoxupQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/CAJF-gvJ3j3XZ5Xgqfu7nkBe8uijZQpLvKyUWvCyO3R-tZU1qyA%40mail.gmail.com.

Reply via email to