From 6455c7c57d37e220aa1021f3f0ecbb2a9e478191 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 11 Oct 2013 16:44:48 +0200 Subject: [PATCH] platform names apparently can have dashes in them, at least iminds-wilab2.cm does --- portal/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.43.0