Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove remaining DRF imports and uninstall it #253

Merged
merged 10 commits into from
Aug 23, 2023
Merged

Remove remaining DRF imports and uninstall it #253

merged 10 commits into from
Aug 23, 2023

Conversation

mvandenburgh
Copy link
Member

With #234, we are completely converted to ninja. This PR removes some remaining loose ends/DRF imports and uninstalls the dependencies from our poetry lockfile.

`ninja` doesn't expose its pagination limit, so I just set it explicitly in
`settings.py` and read from that setting. We should refactor this to
use ninja's built-in pagination support instead of manually paginating
The entire codebase has been migrated to django-ninja, so we don't
need this dependency anymore.
This is also unused, and has been superseded by ninja's built-in
filtering capabilities.
Base automatically changed from convert-status-endpoint-to-ninja to main August 23, 2023 14:53
Copy link
Contributor

@BryonLewis BryonLewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a clean build and ran it locally. Seems to work fine.

Just a note that I think we need to handle the GEOGeometry issue and we may be able to get /api/docs working properly. That can be another PR though,

@mvandenburgh mvandenburgh merged commit d60e8b9 into main Aug 23, 2023
7 checks passed
@mvandenburgh mvandenburgh deleted the remove-drf branch August 23, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants