platform names apparently can have dashes in them, at least iminds-wilab2.cm does
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 11 Oct 2013 14:44:48 +0000 (16:44 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 11 Oct 2013 14:44:48 +0000 (16:44 +0200)
portal/urls.py

index 6e73348..ac6c35b 100644 (file)
@@ -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<platformname>[\w\.]+)/?$', PlatformView.as_view(), name='platform'),
+    url(r'^platform/(?P<platformname>[\w\.\-]+)/?$', PlatformView.as_view(), name='platform'),
     url(r'^slice/?$',SliceView.as_view(),name='slice'),
     url(r'^slice/(?P<slicename>[\w\.]+)/?$', SliceView.as_view(),name='slice'),
     url(r'^account/account_process/?$', account_process),