summaryrefslogtreecommitdiffstats
path: root/starlingx/starlingx/swagger/urls.py
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2019-08-28 19:51:31 +0800
committerHaibin Huang <haibin.huang@intel.com>2019-08-29 10:22:48 +0800
commitf75e4c22cb928d11bd78f15b45b1c42098e588d4 (patch)
tree2bb6072e9890fc5874a79058be997f8bc6a51b02 /starlingx/starlingx/swagger/urls.py
parent3f9d312fabb805bb16e89b662d5c70efe91c6b79 (diff)
update starlingx plugin to python3
Issue-ID: MULTICLOUD-794 Signed-off-by: Haibin Huang <haibin.huang@intel.com> Change-Id: I41d11465d24ea4d15f37db2146d7a77998f535f0
Diffstat (limited to 'starlingx/starlingx/swagger/urls.py')
-rw-r--r--starlingx/starlingx/swagger/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/starlingx/starlingx/swagger/urls.py b/starlingx/starlingx/swagger/urls.py
index da518866..3f1bc2e8 100644
--- a/starlingx/starlingx/swagger/urls.py
+++ b/starlingx/starlingx/swagger/urls.py
@@ -18,9 +18,9 @@ from rest_framework.urlpatterns import format_suffix_patterns
from starlingx.swagger.views import SwaggerJsonView
from starlingx.swagger.views import APIv1SwaggerJsonView
-urlpatterns = [
+URLPATTERNS = [
url(r'^api/multicloud-starlingx/v0/swagger.json$', SwaggerJsonView.as_view()),
url(r'^api/multicloud-starlingx/v1/swagger.json$', APIv1SwaggerJsonView.as_view()),
]
-urlpatterns = format_suffix_patterns(urlpatterns)
+urlpatterns = format_suffix_patterns(URLPATTERNS)