added a view for each platform, to be improved using different plugins... example...
[myslice.git] / portal / urls.py
index f0e5ecd..a57c5fd 100644 (file)
@@ -23,6 +23,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, PlatformView
 from portal.util      import TemplateView
 
 # DEPRECATED #named_register_forms = (
@@ -44,6 +45,9 @@ urlpatterns = patterns('',
     url(r'^dashboard/?$', DashboardView.as_view(), name='dashboard'),
     #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<platformname>[\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),