X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Furls.py;h=2887388a29defc5198916413e7139b43c77958d0;hb=a6e8a7f63aa2d97ec9974b54cd485b4359e296c7;hp=9882845d31cb8cece877e2f9603488cd0a453986;hpb=b29e145eaceb0b2a8f98bfaa7118713159e8c39e;p=myslice.git diff --git a/portal/urls.py b/portal/urls.py index 9882845d..2887388a 100644 --- a/portal/urls.py +++ b/portal/urls.py @@ -22,8 +22,7 @@ from django.conf.urls import patterns, include, url from portal import views -from portal.views import DashboardView, PresViewView -from portal.views import DashboardView, PresViewView, PlatformsView +from portal.views import DashboardView, PresViewView, PlatformsView, PlatformView, ValidatePendingView # UserRegisterView, UserValidateView from portal.util import TemplateView # DEPRECATED #named_register_forms = ( @@ -46,12 +45,16 @@ urlpatterns = patterns('', #url(r'^my_account/?$', MyAccountView.as_view(), name='my_account'), url(r'^account/?$', views.my_account), url(r'^platforms/?$', PlatformsView.as_view(), name='platforms'), + #url(r'^portal/platform/?$', PlatformView.platform_view(), name='platform'), + url(r'^platform/(?P[\w\.]+)/?$', PlatformView.as_view(), name='platform'), url(r'^acc_process/?$', views.acc_process), url(r'^register/?$', views.register_4m_f4f), #url(r'^reg_process/?$', views.reg_4m_f4f_process), url(r'^contact/?$', views.contact), # Slice request url(r'^slice_request/?$', views.slice_request), + # Validate pending requests + url(r'^validate/?$', ValidatePendingView.as_view()), url(r'^pres_view/?$', PresViewView.as_view(), name='pres_view'), (r'^methods/(?P\w+)/?$', 'portal.views.pres_view_methods'),