From: Thierry Parmentelat Date: Fri, 11 Oct 2013 14:44:48 +0000 (+0200) Subject: platform names apparently can have dashes in them, at least iminds-wilab2.cm does X-Git-Tag: myslice-0.2-5~12^2~2 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=6455c7c57d37e220aa1021f3f0ecbb2a9e478191 platform names apparently can have dashes in them, at least iminds-wilab2.cm does --- diff --git a/portal/urls.py b/portal/urls.py index 6e733483..ac6c35b6 100644 --- a/portal/urls.py +++ b/portal/urls.py @@ -57,7 +57,7 @@ urlpatterns = patterns('', #url(r'^my_account/?$', MyAccountView.as_view(), name='my_account'), url(r'^account/?$', AccountView.as_view(), name='account'), url(r'^platforms/?$', PlatformsView.as_view(), name='platforms'), - url(r'^platform/(?P[\w\.]+)/?$', PlatformView.as_view(), name='platform'), + url(r'^platform/(?P[\w\.\-]+)/?$', PlatformView.as_view(), name='platform'), url(r'^slice/?$',SliceView.as_view(),name='slice'), url(r'^slice/(?P[\w\.]+)/?$', SliceView.as_view(),name='slice'), url(r'^account/account_process/?$', account_process),