mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-30 11:11:11 +02:00
Remove redoc
This commit is contained in:
@ -7,7 +7,6 @@ from django.contrib.auth.views import PasswordResetView
|
||||
from django.urls import include, path
|
||||
from django.views.generic import RedirectView, TemplateView
|
||||
from rest_framework import routers
|
||||
from rest_framework.schemas import get_schema_view
|
||||
|
||||
import media.views
|
||||
import users.views
|
||||
@ -33,10 +32,6 @@ urlpatterns = [
|
||||
# REST API
|
||||
path('api/', include(router.urls)),
|
||||
path('api-auth/', include('rest_framework.urls')),
|
||||
path('openapi', login_required(get_schema_view()), name='openapi-schema'),
|
||||
path('redoc/',
|
||||
login_required(TemplateView.as_view(template_name='redoc.html')),
|
||||
name='redoc'),
|
||||
|
||||
# Include Django Contrib and Core routers
|
||||
path('accounts/password_reset/', PasswordResetView.as_view(),
|
||||
|
Reference in New Issue
Block a user