From f5634457ef7882cbc9fcb30d0e12a61d4f13498a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 28 May 2018 16:58:42 +0200 Subject: User profile form: duplicate, delete and edit --- ishtar_common/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ishtar_common/urls.py') diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py index 90784ec96..5a3ed217d 100644 --- a/ishtar_common/urls.py +++ b/ishtar_common/urls.py @@ -122,7 +122,8 @@ urlpatterns = [ kwargs={'all_pages': True}), url(r'^import-step-by-step/(?P[0-9]+)/(?P[0-9]+)/$', views.ImportStepByStepView.as_view(), name='import_step_by_step'), - url(r'^profile/', views.ProfileEdit.as_view(), name='profile'), + url(r'^profile(?:/(?P[0-9]+))?/$', views.ProfileEdit.as_view(), + name='profile'), ] menu = Menu(None) -- cgit v1.2.3