Re: django.channels: "async" for Django

2015-06-18 Thread Andrew Godwin
The only threading is when you're using runserver - normally I'd suggest this is a multi-process model instead. In my view, they already are namespaced, as well; the communication/socket channels live under django.wsgi and django.websocket prefixes, whereas the custom ones don't (perhaps we could

Re: Feature: URL template tag, optional parameters

2015-06-18 Thread Joachim Jablon
But what if we need to distinguish between "" and None ? E.g. : url(r'^blog/page/(?P\d+)/$', views.page, name='view-page'), url(r'^blog/page/(?P\d+)/subpage(?P.*)/$', views.page, name ='view-page'), So that makes : reverse("view-page", page_pk=12) == "blog/page/12/" reverse("view-page", kwargs={