X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Furls.py;h=31c8908eb66b9ee3b62db8c101248d3b599063fa;hb=26d84333b968352f844b47740021dd2a2fcafa41;hp=2887388a29defc5198916413e7139b43c77958d0;hpb=02555f32d9a8ef363a7e2bf0e8ef894bc44f2459;p=unfold.git diff --git a/portal/urls.py b/portal/urls.py index 2887388a..31c8908e 100644 --- a/portal/urls.py +++ b/portal/urls.py @@ -55,6 +55,9 @@ urlpatterns = patterns('', url(r'^slice_request/?$', views.slice_request), # Validate pending requests url(r'^validate/?$', ValidatePendingView.as_view()), + # http://stackoverflow.com/questions/2360179/django-urls-how-to-pass-a-list-of-items-via-clean-urls + # (r'^validate_action/(?P[^/]+)/(?P\w+)/?$', 'portal.views.pres_view_static'), + (r'^validate_action(?P(?:/\w+)+)/?$', 'portal.actions.validate_action'), url(r'^pres_view/?$', PresViewView.as_view(), name='pres_view'), (r'^methods/(?P\w+)/?$', 'portal.views.pres_view_methods'),