What about realtime DRF ?

2018-02-05 Thread 'Kamil Gregorczyk' via Django REST framework
Hi everyone, what's the current progress of the realtime version of django rest framework? I can see that only few todo cards are left to be done on GH page https://github.com/encode/django-rest-framework/projects/3 On the other hand there's https://github.com/linuxlewis/channels-api project --

How to create several objects from just one POST request

2018-02-05 Thread Andres Correa
Hey all, I'm having some difficulty with my project: We measure a lot of data per second, so we had to compromise by sending a long list to the API, and then having the API create serveral objects: The data coming in from request.data looks like this: { "datasource": "", "parameters": ["param

Re: I am not able to get user from request.

2018-02-05 Thread Matemática A3K
On Thu, Feb 1, 2018 at 12:28 AM, Gautam Kumar wrote: > user = None > request = self.context.get("request") > > If it is on CBV, the request is available on self.request > if request and hasattr(request, "user"): > user = request.user > > in 2nd line i am getting none as request.please help