diff options
author | Markus Krogh <markus@nordu.net> | 2017-06-02 13:19:30 +0200 |
---|---|---|
committer | Markus Krogh <markus@nordu.net> | 2017-06-02 13:19:30 +0200 |
commit | 934702f61f1cbdbf001ebb598c22c75efa247645 (patch) | |
tree | b0c6725a8c8a682b421aa35eea9662d7fff31bd6 /src/apps/changepw/urls.py | |
parent | 41afbaae97384968df6312cbe570305208b2216e (diff) |
Django 1.11 compatible and cleaned up
Diffstat (limited to 'src/apps/changepw/urls.py')
-rw-r--r-- | src/apps/changepw/urls.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/apps/changepw/urls.py b/src/apps/changepw/urls.py new file mode 100644 index 0000000..8983950 --- /dev/null +++ b/src/apps/changepw/urls.py @@ -0,0 +1,13 @@ +# This also imports the include function +from django.conf.urls import url + +from . import views + +urlpatterns = [ + url(r'^$', views.index, name='index'), + url(r'^changepw/(?P<pwtype>[-\w]+)$', views.change_password, name='changepw'), + url(r'^changeother$', views.change_other, name='changeother'), + url(r'^ideviceconf$', views.ideviceconf, name='ideviceconf'), + url(r'^changepublicsshkeys$', views.change_public_ssh_keys, name='changepublicsshkeys'), + url(r'^changepublicsshkeys/deletekey/(?P<key_number>\d+)$', views.delete_public_ssh_key, name='deletepublicsshkey'), +] |