Trees | Indices | Help |
|
---|
|
1 # 2 # Copyright (C) 2011 University of Dundee & Open Microscopy Environment. 3 # All rights reserved. 4 # 5 # This program is free software: you can redistribute it and/or modify 6 # it under the terms of the GNU Affero General Public License as 7 # published by the Free Software Foundation, either version 3 of the 8 # License, or (at your option) any later version. 9 # 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU Affero General Public License for more details. 14 # 15 # You should have received a copy of the GNU Affero General Public License 16 # along with this program. If not, see <http://www.gnu.org/licenses/>. 17 # 18 19 from django.conf.urls.defaults import * 20 from django.views.static import serve 21 22 from omeroweb.webpublic import views 23 24 urlpatterns = patterns('django.views.generic.simple', 25 url( r'^$', views.index, name='webpublic_index' ), 26 url( r'^publicise$', views.publicise, name='webpublic_publicise' ), 27 url( r'^de_publicise/(?P<id>\d+)$', views.de_publicise, name='webpublic_de_publicise' ), 28 url( r'^user_listing$', views.user_listing, name='webpublic_user_listing' ), 29 url( r'^(?P<base_62>[^/]+)$', views.tinyurl, name='webpublic_tinyurl' ), 30 url( r'^appmedia/(?P<path>.*)$', serve, {'document_root': 'webpublic/media'}, name='webpublic_static' ), 31 32 ) 33
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jan 24 19:49:20 2012 | http://epydoc.sourceforge.net |