9620cbac91
Based on inline TODO comment. Code refactor. Fix unused test case (was not used as helper method and was not prefixed with 'test_' so it was not used). Change-Id: Ie696970b4b61d699cc4afa5174248df6c00c688d Closes-Bug: #1402047
38 lines
1.4 KiB
Python
38 lines
1.4 KiB
Python
# Copyright 2012 United States Government as represented by the
|
|
# Administrator of the National Aeronautics and Space Administration.
|
|
# All Rights Reserved.
|
|
#
|
|
# Copyright 2012 Nebula, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
from django.conf.urls import patterns
|
|
from django.conf.urls import url
|
|
|
|
from openstack_dashboard.dashboards.identity.users import views
|
|
|
|
|
|
VIEWS_MOD = 'openstack_dashboard.dashboards.identity.users.views'
|
|
|
|
|
|
urlpatterns = patterns(
|
|
VIEWS_MOD,
|
|
url(r'^$', views.IndexView.as_view(), name='index'),
|
|
url(r'^(?P<user_id>[^/]+)/update/$',
|
|
views.UpdateView.as_view(), name='update'),
|
|
url(r'^create/$', views.CreateView.as_view(), name='create'),
|
|
url(r'^(?P<user_id>[^/]+)/detail/$',
|
|
views.DetailView.as_view(), name='detail'),
|
|
url(r'^(?P<user_id>[^/]+)/change_password/$',
|
|
views.ChangePasswordView.as_view(), name='change_password'))
|