always return schema from get_default_schema

This commit is contained in:
Jake McDermott 2018-02-07 13:42:01 -05:00 committed by GitHub
parent 4002f2071d
commit 90f555d684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ def get_default_schema():
from awx.api.swagger import AutoSchema
return AutoSchema()
else:
views.APIView.schema
return views.APIView.schema
class APIView(views.APIView):