diff options
Diffstat (limited to 'build/lib.linux-i686-2.6/gstudio/urls/authors.py')
-rw-r--r-- | build/lib.linux-i686-2.6/gstudio/urls/authors.py | 31 |
1 files changed, 31 insertions, 0 deletions
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 0000000..9505a32 --- /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'), + ) |