Home > Blockchain >  In Django swagger_auto_schema' is not defined
In Django swagger_auto_schema' is not defined

Time:10-29

i am using Django 2.2.6 and python3 find this error

line 122, in CaseListView @swagger_auto_schema( NameError: name 'swagger_auto_schema' is not defined

CodePudding user response:

from drf_yasg.utils import swagger_auto_schema
  • Related