fix
This commit is contained in:
@@ -3,7 +3,20 @@ from django.urls import path, include
|
||||
from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
|
||||
from config.conf.drf_yasg import schema_view
|
||||
from drf_yasg.views import get_schema_view
|
||||
from drf_yasg import openapi
|
||||
|
||||
schema_view = get_schema_view(
|
||||
openapi.Info(
|
||||
title="UyQur API",
|
||||
default_version='v1',
|
||||
description="Test description",
|
||||
terms_of_service="https://www.google.com/policies/terms/",
|
||||
contact=openapi.Contact(email="xoliqberdiyevbehru12@gmail.com"),
|
||||
license=openapi.License(name="Felix IT Solutions License"),
|
||||
),
|
||||
public=True,
|
||||
)
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
Reference in New Issue
Block a user