summaryrefslogtreecommitdiff
path: root/ishtar_common/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-05-28 16:58:42 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 08:49:36 +0200
commitf5634457ef7882cbc9fcb30d0e12a61d4f13498a (patch)
treec616f2686db785b7b1103beb85636d1891cc354c /ishtar_common/urls.py
parent4fba7337a52de2efd795b24cb9cd2797b1427987 (diff)
downloadIshtar-f5634457ef7882cbc9fcb30d0e12a61d4f13498a.tar.bz2
Ishtar-f5634457ef7882cbc9fcb30d0e12a61d4f13498a.zip
User profile form: duplicate, delete and edit
Diffstat (limited to 'ishtar_common/urls.py')
-rw-r--r--ishtar_common/urls.py3
1 files changed, 2 insertions, 1 deletions
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<pk>[0-9]+)/(?P<line_number>[0-9]+)/$',
views.ImportStepByStepView.as_view(), name='import_step_by_step'),
- url(r'^profile/', views.ProfileEdit.as_view(), name='profile'),
+ url(r'^profile(?:/(?P<pk>[0-9]+))?/$', views.ProfileEdit.as_view(),
+ name='profile'),
]
menu = Menu(None)