In the consumer example that Django Channels provides (attached image)
about implementing an HTTP endpoint for Server-sent events (SSE), it leaves
me with a doubt: If I implement an endpoint with that consumer, connect to
it from a client, and then disconnect, it throws the following error:
[
rm_kwargs.into kwargs I send owner(on this case user objects)
and I received into forms.py on *def __init__*
at this moment I known who is the user and can apply my filters over this
user.
I hope can help you.
*---*
*Ángel Gabriel Morales Acosta*
Email: angel.gabriel...@gmail.com
On Sat, Aug 18, 2018
Hi Rohit,
I think this can help you :
https://stackoverflow.com/questions/40206569/django-model-doesnt-declare-an-explicit-app-label
Check the arrowed solution.
*---*
*Ángel Gabriel Morales Acosta*
Email: angel.gabriel...@gmail.com
On Fri, Aug 17, 2018 at 4:53 PM Rohit Rana wrote:
> I h
Hi Bro.·.
If I understand you, you can this:
def any_func(..., *request*):
...
.filter(created_user=*request*.user)
more about : https://docs.djangoproject.com/en/2.1/ref/request-response/
Cheers Bro.·.
*---*
*Ángel Gabriel Morales Acosta*
Email: angel.gabriel...@gmail.com
On Fri
4 matches
Mail list logo