Merge pull request #1151 from ansible/jakemcdermott-patch-1-1

always return schema from get_default_schema
This commit is contained in:
Ryan Petrello 2018-02-07 16:56:48 -05:00 committed by GitHub
commit fb5428dd63
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):