It is posible to disable the return id

2017-10-13 Thread Jorge Cadena
Hola I'm creating a partitioned table and the trigger return a NULL and django bounces an error because postgres doesn't return anything It is posible to tell django to disable the return of the id django makes a mistake: 'NoneType' object is not subscriptable Trigger in postgres: CREATE

Re: django-improved-user v1.0a1

2017-10-13 Thread Andrew Pinkham
Hi Joe, I'm not 100% clear on what you mean by coordinating. Apologies if I miss the mark. You should be able to use improved-user with both allauth and guardian (but I admit I have not tried!). Allauth provides some notes on using a custom model, and covers how to use a model that doesn't ha

Re: Django Websockets / Several Users on the Website

2017-10-13 Thread 'matrix1900' via Django users
thanks for the advise. But the requirement is to reduce the data transfer to the client as less as possible. I want to send only the data which the client needs. And only send the data values that are changed for live data view. Am Freitag, 13. Oktober 2017 11:17:16 UTC+2 schrieb Roger Gamma

Re: Django Websockets / Several Users on the Website

2017-10-13 Thread Roger Gammans
One architecture you could consider, is to put all the sensor values into redis or similar. Have a worker to out the values into redis from the automation source. Then use each websocket recieve event to add the reply channel to the group which gets the appropriate sensor value. You will probably