Skip to content
Snippets Groups Projects
Commit ca766195 authored by Jörn Künsemöller's avatar Jörn Künsemöller
Browse files

LEI-40: Updated routing config for serving LSMR

parent eb248fb8
No related branches found
No related tags found
1 merge request!90Resolve LEI-40
...@@ -16,7 +16,6 @@ Including another URLconf ...@@ -16,7 +16,6 @@ Including another URLconf
from django.contrib import admin from django.contrib import admin
from django.urls import path, re_path from django.urls import path, re_path
from django.conf.urls import url, include
from django.views.generic.base import TemplateView from django.views.generic.base import TemplateView
from rest_framework import routers, permissions from rest_framework import routers, permissions
...@@ -45,7 +44,6 @@ swagger_schema_view = get_schema_view( ...@@ -45,7 +44,6 @@ swagger_schema_view = get_schema_view(
) )
urlpatterns = [ urlpatterns = [
url(r'^', include('api.urls')),
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('docs/', include_docs_urls(title='LSMR API')), path('docs/', include_docs_urls(title='LSMR API')),
re_path(r'^swagger(?P<format>\.json|\.yaml)$', swagger_schema_view.without_ui(cache_timeout=0), name='schema-json'), re_path(r'^swagger(?P<format>\.json|\.yaml)$', swagger_schema_view.without_ui(cache_timeout=0), name='schema-json'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment