diff --git a/rest_framework/compat.py b/rest_framework/compat.py index ff21bacff..7cf68168c 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -23,32 +23,20 @@ except ImportError: postgres_fields = None -# coreapi is required for CoreAPI schema generation -try: - import coreapi -except ImportError: - coreapi = None - -# uritemplate is required for OpenAPI and CoreAPI schema generation +# uritemplate is required for OpenAPI schema generation try: import uritemplate except ImportError: uritemplate = None -# coreschema is optional -try: - import coreschema -except ImportError: - coreschema = None - - # pyyaml is optional try: import yaml except ImportError: yaml = None + # inflection is optional try: import inflection