Update to Django 1.9
- update all dependencies - fix deprecation warnings and errors for Django 1.9 compatibility
This commit is contained in:
parent
1b30b1a38c
commit
085b126416
21 changed files with 85 additions and 110 deletions
|
@ -4,7 +4,7 @@ This module defines the URL patterns for operating system user related views.
|
|||
"""
|
||||
from __future__ import absolute_import, unicode_literals
|
||||
|
||||
from django.conf.urls import patterns, url
|
||||
from django.conf.urls import url
|
||||
|
||||
from .views import (
|
||||
AddSshPublicKey,
|
||||
|
@ -15,8 +15,7 @@ from .views import (
|
|||
)
|
||||
|
||||
|
||||
urlpatterns = patterns(
|
||||
'',
|
||||
urlpatterns = [
|
||||
url(r'^(?P<slug>[\w0-9@.+-_]+)/setpassword$', SetOsUserPassword.as_view(),
|
||||
name='set_osuser_password'),
|
||||
url(r'^(?P<package>\d+)/ssh-keys/$', ListSshPublicKeys.as_view(),
|
||||
|
@ -27,4 +26,4 @@ urlpatterns = patterns(
|
|||
EditSshPublicKeyComment.as_view(), name='edit_ssh_key_comment'),
|
||||
url(r'^(?P<package>\d+)/ssh-keys/(?P<pk>\d+)/delete$',
|
||||
DeleteSshPublicKey.as_view(), name='delete_ssh_key'),
|
||||
)
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue