summaryrefslogtreecommitdiff
path: root/gstudio/urls
diff options
context:
space:
mode:
authoranujag <anujag@anujag-D630.(none)>2012-12-14 14:24:09 +0530
committeranujag <anujag@anujag-D630.(none)>2012-12-14 14:24:09 +0530
commitf5aa055c011c0cf60b7722da2a3d6192a233122d (patch)
treefb253681e989a1efc46999e198b2c5f9797758b3 /gstudio/urls
parent3ba6b57c6d605262ef9e1f7bba8d62ea20aacc36 (diff)
downloadgnowsys-f5aa055c011c0cf60b7722da2a3d6192a233122d.tar.gz
Updated code with recent changes
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 8a4e015..b236cde 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 0000000..edcb125
--- /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 f088b29..319999c 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'),
)