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 | 1dc2eb2ebc5a837d745358620f1dfd35544632ac (patch) | |
tree | c616f2686db785b7b1103beb85636d1891cc354c /ishtar_common/urls.py | |
parent | eba5908a065ba3461fdc1337f617c1af7f2abc60 (diff) | |
download | Ishtar-1dc2eb2ebc5a837d745358620f1dfd35544632ac.tar.bz2 Ishtar-1dc2eb2ebc5a837d745358620f1dfd35544632ac.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) |