升级到 DRF 3.10.0 drf_yasg 报错
ImportError: Could not import 'drf_yasg.generators.OpenAPISchemaGenerator' for API setting 'DEFAULT_GENERATOR_CLASS'. ImportError: cannot import name 'SchemaGenerator' from 're
st_framework.schemas.generators' (/Users/...../.local/share/virtualenvs/......./lib/python3.7/site-packages/rest_framework/schemas/generators.py).

在settings.py 里增加如下配置节即可:

SWAGGER_SETTINGS = {
    "DEFAULT_GENERATOR_CLASS": "rest_framework.schemas.generators.BaseSchemaGenerator",
....

来源: https://www.gitmemory.com/issue/axnsan12/drf-yasg/410/511449292

For example, "name@something.com". If someone replies to you it will be via email.
For example, "http://someaddress.com"