Optimized slice Query with all metadata fields, allows to have the same query in...
[unfold.git] / sample / urls.py
1 # -*- coding: utf-8 -*-
2 #
3 # sample/urls.py: URL mappings for the sample application
4 # This file is part of the Manifold project.
5 #
6 # Authors:
7 #   Jordan AugĂ© <jordan.auge@lip6.fr>
8 #   thierry.parmentelat@inria.fr
9 # Copyright 2013, UPMC Sorbonne UniversitĂ©s / LIP6
10 #
11 # This program is free software; you can redistribute it and/or modify it under
12 # the terms of the GNU General Public License as published by the Free Software
13 # Foundation; either version 3, or (at your option) any later version.
14
15 # This program is distributed in the hope that it will be useful, but WITHOUT
16 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17 # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
18 # details.
19
20 # You should have received a copy of the GNU General Public License along with
21 # this program; see the file COPYING.  If not, write to the Free Software
22 # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
24 from django.conf.urls import patterns, url
25 from sample.views     import WebSocketsView, WebSockets2View
26
27 import sample.querytableview
28 import sample.querygridview
29 import sample.topmenuvalidationview
30
31 urlpatterns = patterns(
32     '',
33     url(r'^websockets/?$',                                      WebSocketsView.as_view(), name='websockets'),
34     url(r'^websockets2/?$',                                     WebSockets2View.as_view(), name='websockets2'),
35     url(r'^tab/?$',                                             'sample.tabview.tab_view'),
36     url(r'^scroll/?$',                                          'sample.scrollview.scroll_view'),
37     url(r'^plugin/?$',                                          'sample.pluginview.test_plugin_view'),
38     url(r'^dashboard/?$',                                       'sample.dashboardview.dashboard_view'),
39     url(r'^querytable/(?P<slicename>[\w\.]+)/?$',               sample.querytableview.QueryTableView.as_view()),
40     url(r'^querygrid/(?P<slicename>[\w\.]+)/?$',                sample.querygridview.QueryGridView.as_view()),
41     url(r'^topmenuvalidation/(?P<username>[\w\._]+)/?$',        sample.topmenuvalidationview.TopmenuValidationView.as_view()),
42 )