From f5aa055c011c0cf60b7722da2a3d6192a233122d Mon Sep 17 00:00:00 2001 From: anujag Date: Fri, 14 Dec 2012 14:24:09 +0530 Subject: Updated code with recent changes --- gstudio/urls/__init__.py | 1 + gstudio/urls/addreln.py | 22 ++++++++++++++++++++++ gstudio/urls/image.py | 6 +++++- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 gstudio/urls/addreln.py (limited to 'gstudio/urls') 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 . + + + + +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'), ) -- cgit v1.1