Handle Tornado callback notify in a more generic, less HTTP-centric way

(imported from commit 85a74d1b40461236c4c95ad688e9796ab50f0bbf)
This commit is contained in:
Keegan McAllister
2013-01-23 17:24:44 -05:00
committed by Leo Franchi
parent 8db92fd995
commit 23b8833ec5
6 changed files with 49 additions and 37 deletions

View File

@@ -102,8 +102,7 @@ urlpatterns = patterns('',
url(r'^robots\.txt$', RedirectView.as_view(url='/static/robots.txt')),
# Used internally for communication between Django and Tornado processes
url(r'^notify_new_message$', 'zephyr.tornadoviews.notify_new_message'),
url(r'^notify_pointer_update$', 'zephyr.tornadoviews.notify_pointer_update'),
url(r'^notify_tornado$', 'zephyr.tornadoviews.notify'),
)
if not settings.DEPLOYED: