- Append
/
to redoc and swagger URLs- In
urls.py
, ensure that'api/docs/redoc/'
and'api/docs/swagger/'
end with/
- In
- Bump the Heroku runtime
- Change
runtime.txt
to usepython-3.8.7
- Change
- Upgrade to
django-composed-configuration
v0.10.0django-composed-configuration
now provides many requirements (via extras), so packages which are not referenced directly have been removed as explicit requirements.- This removes
drf-extensions
entirely, as that project is broken on the latest version of DRF, and no longer seems to be issuing releases. - This switches back to
drf-yasg
, as the project is unforked. - To follow this upgrade, apply the file changes from 39225b0
- Remove
django-oauth-toolkit
version pin- In
settings.py
, remove the version restriction ondjango-oauth-toolkit
- In
- Ignore warnings caused by
oauth2_provider
- In
tox.ini
, addignore::django.utils.deprecation.RemovedInDjango40Warning:oauth2_provider
tofilterwarnings
- In
- Rename the
ConfigMixin
for project-specific overrides- In
settings.py
, rename the class<pkg_name>Config
to<pkg_name>Mixin
- In
- Include package data when installing the project
- In
setup.py
, addinclude_package_data=True
- Add a new file,
MANIFEST.in
, with the content from d794507
- In