from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^profile$',
        views.DashboardProfileView.as_view(),
        name='dashboard-profile'),
    url(r'^change_password$',
        views.ChangePasswordView.as_view(),
        name='dashboard-password'),
    url(r'^email/$',
        views.DashboardEmailView.as_view(),
        name='dashboard-email'),
    url(r'^(?P<organisation_slug>[-\w_]+)/projects/$',
        views.DashboardProjectListView.as_view(),
        name='dashboard-project-list'),
    url(r'^(?P<organisation_slug>[-\w_]+)/blueprints/$',
        views.DashboardBlueprintListView.as_view(),
        name='dashboard-blueprint-list'),
    url(r'^(?P<organisation_slug>[-\w_]+)/blueprints/'
        r'(?P<blueprint_slug>[-\w_]+)/$',
        views.DashboardProjectCreateView.as_view(),
        name='dashboard-project-create'),
    url(r'^(?P<organisation_slug>[-\w_]+)/projects/(?P<slug>[-\w_]+)/$',
        views.DashboardProjectUpdateView.as_view(),
        name='dashboard-project-edit'),
]

@@ -82,16 +82,17 @@
 %5Eprofile
+/
 $',%0A    
@@ -194,16 +194,17 @@
 password
+/
 $',%0A    

add slashes to urls