summaryrefslogtreecommitdiff
path: root/build/lib.linux-i686-2.6/gstudio/urls
diff options
context:
space:
mode:
Diffstat (limited to 'build/lib.linux-i686-2.6/gstudio/urls')
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/__init__.py40
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/add.py52
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/ajaxurls.py26
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/authors.py31
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/capabilities.py51
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/dashboard.py75
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/discussions.py26
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/feeds.py66
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/graphs.py31
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/metatypes.py37
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/nodetypes.py70
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/quick_nodetype.py25
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/search.py24
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/sitemap.py9
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/tags.py29
-rw-r--r--build/lib.linux-i686-2.6/gstudio/urls/trackback.py25
16 files changed, 617 insertions, 0 deletions
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/__init__.py b/build/lib.linux-i686-2.6/gstudio/urls/__init__.py
new file mode 100644
index 00000000..b04f1485
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/__init__.py
@@ -0,0 +1,40 @@
+
+# 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/>.
+
+
+"""Defaults urls for the Gstudio project"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import include
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns(
+ '',
+ url(r'^tags/', include('gstudio.urls.tags',)),
+ url(r'^feeds/', include('gstudio.urls.feeds')),
+ url(r'^authors/', include('gstudio.urls.authors')),
+ url(r'^metatypes/', include('gstudio.urls.metatypes')),
+ url(r'^search/', include('gstudio.urls.search')),
+ url(r'^sitemap/', include('gstudio.urls.sitemap')),
+ url(r'^trackback/', include('gstudio.urls.trackback')),
+ url(r'^discussions/', include('gstudio.urls.discussions')),
+ url(r'^add/', include('gstudio.urls.add')),
+ url(r'^ajax/', include('gstudio.urls.ajaxurls')),
+ url(r'^graphs/', include('gstudio.urls.graphs')),
+ url(r'^userdashboard/', include('gstudio.urls.dashboard')),
+ url(r'^', include('gstudio.urls.quick_nodetype')),
+ url(r'^', include('gstudio.urls.capabilities')),
+ url(r'^', include('gstudio.urls.nodetypes')),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/add.py b/build/lib.linux-i686-2.6/gstudio/urls/add.py
new file mode 100644
index 00000000..d2a2b0f4
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/add.py
@@ -0,0 +1,52 @@
+
+# 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/>.
+
+
+"""Urls for Gstudio forms"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('gstudio.views.add',
+ url(r'^metatype/$', 'addmetatype',
+ name='gstudio_add_meatype'),
+ url(r'^objecttype/$', 'addobjecttype',
+ name='gstudio_add_objecttype'),
+
+ url(r'^attributetype/$', 'addattributetype',
+ name='gstudio_add_attributetype'),
+
+ url(r'^relationtype/$', 'addrelationtype',
+ name='gstudio_add_relationtype'),
+ url(r'^systemtype/$', 'addsystemtype',
+ name='gstudio_add_systemtype'),
+ url(r'^processtype/$', 'addprocesstype',
+ name='gstudio_add_systemtype'),
+ url(r'^attribute/$', 'addattribute',
+ name='gstudio_add_attribute'),
+ url(r'^relation/$', 'addrelation',
+ name='gstudio_add_relation'),
+ url(r'^complement/$', 'addcomplement',
+ name='gstudio_add_complement'),
+ url(r'^intersection/$', 'addintersection',
+ name='gstudio_add_intersection'),
+ url(r'^union/$', 'addunion',
+ name='gstudio_add_union'),
+
+
+
+
+
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/ajaxurls.py b/build/lib.linux-i686-2.6/gstudio/urls/ajaxurls.py
new file mode 100644
index 00000000..4b84de38
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/ajaxurls.py
@@ -0,0 +1,26 @@
+
+# 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/>.
+
+
+"""Urls for the Gstudio sitemap"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('gstudio.views.ajaxviews',
+ url(r'^$', 'AjaxAttribute',
+
+ name='ajax_views'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/authors.py b/build/lib.linux-i686-2.6/gstudio/urls/authors.py
new file mode 100644
index 00000000..9505a32c
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/authors.py
@@ -0,0 +1,31 @@
+
+# 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/>.
+
+
+"""Urls for the Gstudio authors"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+
+urlpatterns = patterns('gstudio.views.authors',
+ url(r'^$', 'author_list',
+ name='gstudio_author_list'),
+ url(r'^(?P<username>[.+-@\w]+)/$', 'author_detail',
+ name='gstudio_author_detail'),
+ url(r'^(?P<username>[.+-@\w]+)/page/(?P<page>\d+)/$',
+ 'author_detail',
+ name='gstudio_author_detail_paginated'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/capabilities.py b/build/lib.linux-i686-2.6/gstudio/urls/capabilities.py
new file mode 100644
index 00000000..7a08e0b3
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/capabilities.py
@@ -0,0 +1,51 @@
+
+# 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/>.
+
+
+"""Urls for the gstudio capabilities"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+from django.contrib.sites.models import Site
+
+from gstudio.settings import PROTOCOL
+from gstudio.settings import COPYRIGHT
+from gstudio.settings import FEEDS_FORMAT
+
+extra_context = {'protocol': PROTOCOL,
+ 'site': Site.objects.get_current()}
+
+extra_context_opensearch = extra_context.copy()
+extra_context_opensearch.update({'copyright': COPYRIGHT,
+ 'feeds_format': FEEDS_FORMAT})
+
+urlpatterns = patterns('django.views.generic.simple',
+ url(r'^rsd.xml$', 'direct_to_template',
+ {'template': 'gstudio/rsd.xml',
+ 'mimetype': 'application/rsd+xml',
+ 'extra_context': extra_context},
+ name='gstudio_rsd'),
+ url(r'^wlwmanifest.xml$', 'direct_to_template',
+ {'template': 'gstudio/wlwmanifest.xml',
+ 'mimetype': 'application/wlwmanifest+xml',
+ 'extra_context': extra_context},
+ name='gstudio_wlwmanifest'),
+ url(r'^opensearch.xml$', 'direct_to_template',
+ {'template': 'gstudio/opensearch.xml',
+ 'mimetype':
+ 'application/opensearchdescription+xml',
+ 'extra_context': extra_context_opensearch},
+ name='gstudio_opensearch'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/dashboard.py b/build/lib.linux-i686-2.6/gstudio/urls/dashboard.py
new file mode 100644
index 00000000..ea127c2c
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/dashboard.py
@@ -0,0 +1,75 @@
+# 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/>.
+
+
+# This project incorporates work covered by the following copyright and permission notice:
+
+# Copyright (c) 2009, Julien Fache
+# All rights reserved.
+
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in
+# the documentation and/or other materials provided with the
+# distribution.
+# * Neither the name of the author nor the names of other
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+# OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 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.userdashboard',
+ url(r'^$', 'userdashboard',
+ name='gstudio_userdashboard'),
+
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/discussions.py b/build/lib.linux-i686-2.6/gstudio/urls/discussions.py
new file mode 100644
index 00000000..6309dcfc
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/discussions.py
@@ -0,0 +1,26 @@
+
+# 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/>.
+
+
+"""Urls for the Gstudio discussions"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('django.views.generic.simple',
+ url(r'^success/$', 'direct_to_template',
+ {'template': 'comments/gstudio/nodetype/posted.html'},
+ name='gstudio_discussion_success'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/feeds.py b/build/lib.linux-i686-2.6/gstudio/urls/feeds.py
new file mode 100644
index 00000000..34f36bda
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/feeds.py
@@ -0,0 +1,66 @@
+
+# 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/>.
+
+
+"""Urls for the Gstudio feeds"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+from gstudio.feeds import LatestNodetypes
+from gstudio.feeds import NodetypeDiscussions
+from gstudio.feeds import NodetypeComments
+from gstudio.feeds import NodetypeTrackbacks
+from gstudio.feeds import NodetypePingbacks
+from gstudio.feeds import SearchNodetypes
+from gstudio.feeds import TagNodetypes
+from gstudio.feeds import MetatypeNodetypes
+from gstudio.feeds import AuthorNodetypes
+
+
+urlpatterns = patterns(
+ '',
+ url(r'^latest/$',
+ LatestNodetypes(),
+ name='gstudio_nodetype_latest_feed'),
+ url(r'^search/$',
+ SearchNodetypes(),
+ name='gstudio_nodetype_search_feed'),
+ url(r'^tags/(?P<slug>[- \w]+)/$',
+ TagNodetypes(),
+ name='gstudio_tag_feed'),
+ url(r'^authors/(?P<username>[.+-@\w]+)/$',
+ AuthorNodetypes(),
+ name='gstudio_author_feed'),
+ url(r'^metatypes/(?P<path>[-\/\w]+)/$',
+ MetatypeNodetypes(),
+ name='gstudio_metatype_feed'),
+ url(r'^discussions/(?P<year>\d{4})/(?P<month>\d{2})/' \
+ '(?P<day>\d{2})/(?P<slug>[-\w]+)/$',
+ NodetypeDiscussions(),
+ name='gstudio_nodetype_discussion_feed'),
+ url(r'^comments/(?P<year>\d{4})/(?P<month>\d{2})/' \
+ '(?P<day>\d{2})/(?P<slug>[-\w]+)/$',
+ NodetypeComments(),
+ name='gstudio_nodetype_comment_feed'),
+ url(r'^pingbacks/(?P<year>\d{4})/(?P<month>\d{2})/' \
+ '(?P<day>\d{2})/(?P<slug>[-\w]+)/$',
+ NodetypePingbacks(),
+ name='gstudio_nodetype_pingback_feed'),
+ url(r'^trackbacks/(?P<year>\d{4})/(?P<month>\d{2})/' \
+ '(?P<day>\d{2})/(?P<slug>[-\w]+)/$',
+ NodetypeTrackbacks(),
+ name='gstudio_nodetype_trackback_feed'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/graphs.py b/build/lib.linux-i686-2.6/gstudio/urls/graphs.py
new file mode 100644
index 00000000..952f0214
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/graphs.py
@@ -0,0 +1,31 @@
+
+# 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/>.
+
+
+"""Urls for the Gstudio nodetypes"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+from gstudio.models import Nodetype
+from gstudio.settings import PAGINATION
+from gstudio.settings import ALLOW_EMPTY
+from gstudio.settings import ALLOW_FUTURE
+
+urlpatterns = patterns(
+ 'gstudio.views.graphs',
+ url(r'^graph_json/(?P<node_id>\d+)$','graph_json', name='graph_json_d3'),
+ url(r'^graph/(?P<node_id>\d+)$','force_graph', name='force_graph_d3'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/metatypes.py b/build/lib.linux-i686-2.6/gstudio/urls/metatypes.py
new file mode 100644
index 00000000..b54da69c
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/metatypes.py
@@ -0,0 +1,37 @@
+
+# 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/>.
+
+
+"""Urls for the Gstudio metatypes"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+from gstudio.models import Metatype
+
+metatype_conf = {'queryset': Metatype.tree.all()}
+
+urlpatterns = patterns('django.views.generic.list_detail',
+ url(r'^$', 'object_list',
+ metatype_conf, 'gstudio_metatype_list'),
+ )
+
+urlpatterns += patterns('gstudio.views.metatypes',
+ url(r'^(?P<path>[-\/\w]+)/page/(?P<page>\d+)/$',
+ 'metatype_detail',
+ name='gstudio_metatype_detail_paginated'),
+ url(r'^(?P<path>[-\/\w]+)/$', 'metatype_detail',
+ name='gstudio_metatype_detail'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/nodetypes.py b/build/lib.linux-i686-2.6/gstudio/urls/nodetypes.py
new file mode 100644
index 00000000..9e7cd972
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/nodetypes.py
@@ -0,0 +1,70 @@
+
+# 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/>.
+
+
+"""Urls for the Gstudio nodetypes"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+from gstudio.models import Nodetype
+from gstudio.settings import PAGINATION
+from gstudio.settings import ALLOW_EMPTY
+from gstudio.settings import ALLOW_FUTURE
+
+nodetype_conf_index = {'paginate_by': PAGINATION,
+ 'template_name': 'gstudio/nodetype_archive.html'}
+
+nodetype_conf = {'date_field': 'creation_date',
+ 'allow_empty': ALLOW_EMPTY,
+ 'allow_future': ALLOW_FUTURE,
+ 'month_format': '%m',
+ 'queryset': Nodetype.tree.all()}
+
+metatype_conf = {}
+
+nodetype_conf_year = nodetype_conf.copy()
+nodetype_conf_year['make_object_list'] = True
+del nodetype_conf_year['month_format']
+
+nodetype_conf_detail = nodetype_conf.copy()
+del nodetype_conf_detail['allow_empty']
+nodetype_conf_detail['queryset'] = Nodetype.published.on_site()
+
+
+urlpatterns = patterns(
+ 'gstudio.views.nodetypes',
+ url(r'^$',
+ 'nodetype_index', nodetype_conf_index,
+ name='gstudio_nodetype_archive_index'),
+ url(r'^page/(?P<page>\d+)/$',
+ 'nodetype_index', nodetype_conf_index,
+ name='gstudio_nodetype_archive_index_paginated'),
+ url(r'^(?P<year>\d{4})/$',
+ 'nodetype_year', nodetype_conf_year,
+ name='gstudio_nodetype_archive_year'),
+ url(r'^(?P<year>\d{4})/(?P<month>\d{2})/$',
+ 'nodetype_month', nodetype_conf,
+ name='gstudio_nodetype_archive_month'),
+ url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$',
+ 'nodetype_day', nodetype_conf,
+ name='gstudio_nodetype_archive_day'),
+ url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/(?P<slug>[-\w]+)/$',
+ 'nodetype_detail', nodetype_conf_detail,
+ name='gstudio_nodetype_detail'),
+ url(r'^(?P<object_id>\d+)/$',
+ 'nodetype_shortlink',
+ name='gstudio_nodetype_shortlink'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/quick_nodetype.py b/build/lib.linux-i686-2.6/gstudio/urls/quick_nodetype.py
new file mode 100644
index 00000000..fb613cf9
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/quick_nodetype.py
@@ -0,0 +1,25 @@
+
+# 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 the Gstudio quick nodetype view"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('gstudio.views.quick_nodetype',
+ url(r'^quick_nodetype/$', 'view_quick_nodetype',
+ name='gstudio_nodetype_quick_post')
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/search.py b/build/lib.linux-i686-2.6/gstudio/urls/search.py
new file mode 100644
index 00000000..4b52cb94
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/search.py
@@ -0,0 +1,24 @@
+
+# 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/>.
+
+
+"""Urls for the Gstudio search"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('gstudio.views.search',
+ url(r'^$', 'nodetype_search', name='gstudio_nodetype_search'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/sitemap.py b/build/lib.linux-i686-2.6/gstudio/urls/sitemap.py
new file mode 100644
index 00000000..c88d024d
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/sitemap.py
@@ -0,0 +1,9 @@
+"""Urls for the Gstudio sitemap"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('gstudio.views.sitemap',
+ url(r'^$', 'sitemap',
+ {'template': 'gstudio/sitemap.html'},
+ name='gstudio_sitemap'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/tags.py b/build/lib.linux-i686-2.6/gstudio/urls/tags.py
new file mode 100644
index 00000000..112f846f
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/tags.py
@@ -0,0 +1,29 @@
+
+# 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/>.
+
+
+"""Urls for the Gstudio tags"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('gstudio.views.tags',
+ url(r'^$', 'tag_list',
+ name='gstudio_tag_list'),
+ url(r'^(?P<tag>[^/]+(?u))/$', 'tag_detail',
+ name='gstudio_tag_detail'),
+ url(r'^(?P<tag>[^/]+(?u))/page/(?P<page>\d+)/$',
+ 'tag_detail', name='gstudio_tag_detail_paginated'),
+ )
diff --git a/build/lib.linux-i686-2.6/gstudio/urls/trackback.py b/build/lib.linux-i686-2.6/gstudio/urls/trackback.py
new file mode 100644
index 00000000..898e344d
--- /dev/null
+++ b/build/lib.linux-i686-2.6/gstudio/urls/trackback.py
@@ -0,0 +1,25 @@
+
+# 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/>.
+
+
+"""Urls for the Gstudio trackback"""
+from django.conf.urls.defaults import url
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('gstudio.views.trackback',
+ url(r'^(?P<object_id>\d+)/$', 'nodetype_trackback',
+ name='gstudio_nodetype_trackback'),
+ )