Source

django-socketio-on-dotcloud / hellodjango / chat / urls.py


from django.conf.urls.defaults import patterns, include, url


urlpatterns = patterns("chat.views",
    url("^$", "rooms", name="rooms"),
    url("^create/$", "create", name="create"),
    url("^system_message/$", "system_message", name="system_message"),
    url("^(?P<slug>.*)$", "room", name="room"),
)