summaryrefslogtreecommitdiff
path: root/gstudio/urls
diff options
context:
space:
mode:
Diffstat (limited to 'gstudio/urls')
-rw-r--r--gstudio/urls/__init__.py1
-rw-r--r--gstudio/urls/addreln.py22
-rw-r--r--gstudio/urls/image.py6
3 files changed, 28 insertions, 1 deletions
diff --git a/gstudio/urls/__init__.py b/gstudio/urls/__init__.py
index 8a4e015e..b236cde9 100644
--- a/gstudio/urls/__init__.py
+++ b/gstudio/urls/__init__.py
@@ -51,6 +51,7 @@ urlpatterns = patterns(
url(r'pageadd/', include('gstudio.urls.pageadd')),
url(r'group/',include('gstudio.urls.group')),
url(r'page/',include('gstudio.urls.page')),
+ url(r'^resources/addreln/',include('gstudio.urls.addreln')),
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/addreln.py b/gstudio/urls/addreln.py
new file mode 100644
index 00000000..edcb1254
--- /dev/null
+++ b/gstudio/urls/addreln.py
@@ -0,0 +1,22 @@
+# 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/>.
+
+
+
+
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('gstudio.views.addreln',
+ url(r'^form/(\d+)/$','addrelnform',name = 'addrelfrm'),
+ url(r'^thread/(\d+)/$', 'addreln',name='addreln'),
+ )
diff --git a/gstudio/urls/image.py b/gstudio/urls/image.py
index f088b29f..319999ca 100644
--- a/gstudio/urls/image.py
+++ b/gstudio/urls/image.py
@@ -21,5 +21,9 @@ from django.conf.urls.defaults import patterns
urlpatterns = patterns('gstudio.views.image',
url(r'^$', 'image',
name='image'),
- url(r'show/(\d+)/$','show',name='showimage'),
+ url(r'show/(\d+)/$','show',name='showimage'),
+ url(r'edittitle/$','edit_title',name='edittitle'),
+ url(r'addpriorpost/$','addpriorpost',name='addpriorpost'),
+ url(r'addtag/$','addtag',name='addtag'),
+ url(r'deletetag/$','deletetag',name='deletetag'),
)