- url(r'^$', views.index, name='index'),
- url(r'^register/?$', views.register_user, name='register'),
- url(r"^registerwizard/(?P<step>[-\w]+)/$", register_wizard,
- name="register_wizard_step"),
- url(r"^registerwizard/$", register_wizard, name="register_wizard")
+ # User registration
+ #url(r'^user/register/?$', UserRegisterView.as_view(), name='user_register'),
+ url(r'^user/register/complete/$',
+ TemplateView.as_view(template_name='user_register_complete.html'),
+ name='user_register_complete'),
+ # User validation
+ #url(r'^user/validate/?$', UserValidateView.as_view(), name='user_validate'),
+ url(r'^dashboard/?$', DashboardView.as_view(), name='dashboard'),
+ #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'^account/account_process/?$', account_process),
+ url(r'^register/?$', register_4m_f4f),
+ url(r'^contact/?$', ContactView.as_view(), name='contact'),
+ # Slice request
+ url(r'^slice_request/?$', SliceRequestView.as_view(), name='slice_request'),
+ # Validate pending requests
+ url(r'^validate/?$', ValidatePendingView.as_view()),
+ # http://stackoverflow.com/questions/2360179/django-urls-how-to-pass-a-list-of-items-via-clean-urls
+ # (r'^validate_action/(?P<constraints>[^/]+)/(?P<id>\w+)/?$', 'portal.views.pres_view_static'),
+ (r'^validate_action(?P<id>(?:/\w+)+)/?$', 'portal.actions.validate_action'),
+
+ url(r'^pres_view/?$', PresViewView.as_view(), name='pres_view'),
+ (r'^methods/(?P<type>\w+)/?$', 'portal.views.pres_view_methods'),
+ (r'^animation/(?P<constraints>[^/]+)/(?P<id>\w+)/?$', 'portal.views.pres_view_animation'),
+ (r'^static/(?P<constraints>[^/]+)/(?P<id>\w+)/?$', 'portal.views.pres_view_static'),
+ #url(r'^slice/request/?$', views.slice_request, name='slice_request'),
+ # Slice confirmation
+ #url(r'^slice/validate/?$', views.slice_validate, name='slice_validate'),