1 # -*- coding: utf-8 -*-
3 # sample/urls.py: URL mappings for the sample application
4 # This file is part of the Manifold project.
7 # Jordan Augé <jordan.auge@lip6.fr>
8 # Copyright 2013, UPMC Sorbonne Universités / LIP6
10 # This program is free software; you can redistribute it and/or modify it under
11 # the terms of the GNU General Public License as published by the Free Software
12 # Foundation; either version 3, or (at your option) any later version.
14 # This program is distributed in the hope that it will be useful, but WITHOUT
15 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19 # You should have received a copy of the GNU General Public License along with
20 # this program; see the file COPYING. If not, write to the Free Software
21 # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 from django.conf.urls import patterns, url
24 from sample.views import WebSocketsView, WebSockets2View
26 urlpatterns = patterns('',
27 url(r'^websockets/?$', WebSocketsView.as_view(), name='websockets'),
28 url(r'^websockets2/?$', WebSockets2View.as_view(), name='websockets2'),