added sandbox application to help new plugin developers experiment with their plugins
[myslice.git] / sandbox / urls.py
diff --git a/sandbox/urls.py b/sandbox/urls.py
new file mode 100644 (file)
index 0000000..e5b210c
--- /dev/null
@@ -0,0 +1,30 @@
+# -*- coding: utf-8 -*-
+#
+# portal/urls.py: URL mappings for the portal application
+# This file is part of the Manifold project.
+#
+# Authors:
+#   Jordan AugĂ© <jordan.auge@lip6.fr>
+# 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.views.generic.base   import TemplateView
+from django.conf.urls           import patterns, include, url
+
+from sandbox.views import MyPluginView
+
+urlpatterns = patterns('', 
+    url(r'^myplugin/?$', MyPluginView.as_view(), name='myplugin')
+)