Commit 43e7fff6 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[urls] Update url for REST Framework swagger

parent 02b60707
......@@ -30,6 +30,8 @@ from django.conf import settings
from django.views.generic import TemplateView
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from rest_framework_swagger.views import get_swagger_view
from .ui import urls as ui_urls
from .navigation import urls as navigation_urls
......@@ -38,6 +40,8 @@ from urlparse import urlparse
from django.contrib import admin
schema_view = get_swagger_view(title='BEAT API')
# Views
unprefixed_patterns = ui_urls.urlpatterns
unprefixed_patterns += navigation_urls.urlpatterns
......@@ -103,7 +107,7 @@ unprefixed_patterns += [
url(r'^admin/', include(,
include('rest_framework_swagger.urls', namespace='docs'),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment