Thanks Andrew, using
print("message", flush=True)
did the trick to get the print messages immediately.
Am Dienstag, 30. Januar 2018 02:00:20 UTC+1 schrieb Andrew Godwin:
>
> I'm not sure why the print messages were buffered - next time try flushing
> stdout and see if that makes it work.
>
> And
I'm not sure why the print messages were buffered - next time try flushing
stdout and see if that makes it work.
Andrew
On Mon, Jan 29, 2018 at 6:49 AM, 'Matthias Brück' via Django users <
django-users@googlegroups.com> wrote:
> Ok, i found the problem, the authentification is not working becaus
Ok, i found the problem, the authentification is not working because of
django-tenant-schemas. But I'm still wondering why the print messages only
gets output after a restart of the worker.
Am Montag, 29. Januar 2018 12:30:54 UTC+1 schrieb Matthias Brück:
>
> Hi everyone,
>
> I have added a webs
Hi everyone,
I have added a websocket connection via django-channels to one of my
projects. Everything is working fine locally. But when I try to setup
everything on my staging server I never come to the point where actually
messages got send and received between the clients and the server.
I
4 matches
Mail list logo