diff options
Diffstat (limited to 'gstudio/urls')
-rw-r--r-- | gstudio/urls/__init__.py | 4 | ||||
-rw-r--r-- | gstudio/urls/page.py | 27 | ||||
-rw-r--r-- | gstudio/urls/pageadd.py | 20 | ||||
-rw-r--r-- | gstudio/urls/sectionadd1.py | 9 | ||||
-rw-r--r-- | gstudio/urls/user.py | 5 |
5 files changed, 63 insertions, 2 deletions
diff --git a/gstudio/urls/__init__.py b/gstudio/urls/__init__.py index d9f65cd..efc6305 100644 --- a/gstudio/urls/__init__.py +++ b/gstudio/urls/__init__.py @@ -39,10 +39,14 @@ urlpatterns = patterns( url(r'^', include('gstudio.urls.capabilities')), url(r'^', include('gstudio.urls.nodetypes')), url(r'topicadd1/', include('gstudio.urls.topicadd1')), + url(r'sectionadd1/', include('gstudio.urls.sectionadd1')), url(r'^login', include('gstudio.urls.login')), url(r'user/(\w+)/$','gstudio.views.user.userdashboard'), + url(r'user/wikipage/(\w+)/$','gstudio.views.user.wikidashboard'), url(r'groupadd/', include('gstudio.urls.groupadd')), + url(r'pageadd/', include('gstudio.urls.pageadd')), url(r'group/',include('gstudio.urls.group')), + url(r'page/',include('gstudio.urls.page')), url(r'^resources/images/',include('gstudio.urls.image')), url(r'^resources/videos/',include('gstudio.urls.video')), url(r'^resources/documents',include('gstudio.urls.docu')), diff --git a/gstudio/urls/page.py b/gstudio/urls/page.py new file mode 100644 index 0000000..23df1e3 --- /dev/null +++ b/gstudio/urls/page.py @@ -0,0 +1,27 @@ +# Copyright (c) 2011, 2012 Free Software Foundation + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, 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 Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + + +"""Url for Gstudio User Dashboard""" +from django.conf.urls.defaults import url +from django.conf.urls.defaults import patterns + +urlpatterns = patterns('gstudio.views.page', + url(r'^gnowsys-page/(\d+)/$', 'pagedashboard', name='gstudio_page'), + # url(r'^later$', 'grouplater', name='gstudio_group'), + # url(r'^over$', 'groupover', + # name='gstudio_group'), + ) diff --git a/gstudio/urls/pageadd.py b/gstudio/urls/pageadd.py new file mode 100644 index 0000000..8aa4b10 --- /dev/null +++ b/gstudio/urls/pageadd.py @@ -0,0 +1,20 @@ +# License, 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 Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + +"""Url for Gstudio User Dashboard""" +from django.conf.urls.defaults import url +from django.conf.urls.defaults import patterns + +urlpatterns = patterns('gstudio.views.pageadd', + url(r'^$', 'pageadd', + name='gstudio_page'), + + ) diff --git a/gstudio/urls/sectionadd1.py b/gstudio/urls/sectionadd1.py new file mode 100644 index 0000000..592b493 --- /dev/null +++ b/gstudio/urls/sectionadd1.py @@ -0,0 +1,9 @@ +"""Url for Gstudio User Dashboard""" +from django.conf.urls.defaults import url +from django.conf.urls.defaults import patterns + +urlpatterns = patterns('gstudio.views.sectionadd1', + url(r'(\d+)', 'sectionadd1', + name='gstudio_section'), + + ) diff --git a/gstudio/urls/user.py b/gstudio/urls/user.py index 12031d3..7b73c8a 100644 --- a/gstudio/urls/user.py +++ b/gstudio/urls/user.py @@ -20,7 +20,8 @@ from django.conf.urls.defaults import url from django.conf.urls.defaults import patterns urlpatterns = patterns('gstudio.views.user', - url(r'^$', 'userdashboard', - name='gstudio_user'), + url(r'^$', 'userdashboard',name='gstudio_user'), + url(r'^wikipage/$', 'wikidashboard', name='gstudio_wiki'), + ) |