Permalink
Find file Copy path
801c650 Jun 20, 2018
1 contributor

Users who have contributed to this file

7 lines (5 sloc) 194 Bytes
from django.http import HttpResponse
from django_grip import set_hold_stream
def events(request, topic):
set_hold_stream(request, topic)
return HttpResponse(content_type='text/event-stream')