diff options
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 |
commit | f5634457ef7882cbc9fcb30d0e12a61d4f13498a (patch) | |
tree | c616f2686db785b7b1103beb85636d1891cc354c /ishtar_common/urls.py | |
parent | 4fba7337a52de2efd795b24cb9cd2797b1427987 (diff) | |
download | Ishtar-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.py | 3 |
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) |