adjutant/stacktask/api/urls.py
adrian-turjak 73e5018c9e Core library requirements update
Rather than cap libraries at older versions, I'm updating the code
to work with the newest libraries and methods.

Now using KeystoneAuth and Keystone Middleware via a specific auth
plugin and setting domain info.

Also fixing a minor bug in "user_store.py" which cropped up due to
issues when updating libraries.

Change-Id: I3e9e2f4ff3b6a1be94857622f171425ce70de969
2016-08-09 12:02:42 +01:00

26 lines
865 B
Python

# Copyright (C) 2015 Catalyst IT Ltd
#
# 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 url, include
from django.conf import settings
from stacktask.api import docs
urlpatterns = [
url(r'^v1/', include('stacktask.api.v1.urls')),
]
if settings.DEBUG:
urlpatterns.append(url(r'^docs/', docs.docs_view))