X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sample%2Furls.py;fp=sample%2Furls.py;h=d56b5dc9a35527ac74dda81765eb63388c0343e7;hb=d68dcefd28c832608cdb359a07a8b871cbe612ae;hp=0000000000000000000000000000000000000000;hpb=ac2dda758798f7e44de062d370763c639cc6a375;p=unfold.git diff --git a/sample/urls.py b/sample/urls.py new file mode 100644 index 00000000..d56b5dc9 --- /dev/null +++ b/sample/urls.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# +# sample/urls.py: URL mappings for the sample application +# This file is part of the Manifold project. +# +# Authors: +# Jordan Augé +# Copyright 2013, UPMC Sorbonne Universités / LIP6 +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 3, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; see the file COPYING. If not, write to the Free Software +# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +from django.conf.urls import patterns, url +from sample.views import WebSocketsView, WebSockets2View + +urlpatterns = patterns('', + url(r'^websockets/?$', WebSocketsView.as_view(), name='websockets'), + url(r'^websockets2/?$', WebSockets2View.as_view(), name='websockets2'), +)