django-eventstream
django-eventstream copied to clipboard
Server-Sent Events for Django
My versions are: Django==3.2.14 django_eventstream==4.5.1 channels==3.0.5 I am running locally on a Mac with python manage.py runserver. Following the README steps, The url path /events/ works correctly - however, send_events...
I was trying to send an event to a named channel `test` as in the docs, and this worked fine with the `Channels` setup. However, After configuration against fanout/pushpin proxy,...
Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.20. Commits 19bc11f [3.2.x] Bumped version for 3.2.20 release. 454f2fb [3.2.x] Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator a... 07cc014 [3.2.x] Added stub release...
Bumps [django](https://github.com/django/django) from 3.2.14 to 3.2.20. Commits 19bc11f [3.2.x] Bumped version for 3.2.20 release. 454f2fb [3.2.x] Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator a... 07cc014 [3.2.x] Added stub release...
- adds django_eventstream.utils.build_next_uri method to build next uri - use settings.EVENTSTREAM_PATH_PREPEND value if present to build correct next uri
Django Channels only supports Django up to 4.0. For newer Django versions there is Django Channels 4.x which supports already Django 4.1 and 4.2, but it's a major version change...
eventstream/pushpin will not deliver events when pushpin is using path_beg and replace_beg to to remove part of the path. ``` pushpin url http://localhost:7999/foo/events/bar/ pushpin route *,path_beg=/foo,replace_beg= localhost:8000 django url path('events//',...
this is my asgi.py ```python """ ASGI entrypoint. Configures Django and then runs the application defined in the ASGI_APPLICATION setting. """ import os import django from channels.routing import get_default_application from...
I am trying to improve the performance of my application, and I noticed that updating the eventcounter (which is done for every sent event) performs 3 DB Queries, which on...
Hi, I tried to specify a list of dynamic channels using formatting based on view keywords, the configuration looks like below: ``` application = ProtocolTypeRouter({ 'http': URLRouter([ path('events/', AuthMiddlewareStack(URLRouter( django_eventstream.routing.urlpatterns...