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

separate viewsets into files #42

Open
Floris272 opened this issue Feb 7, 2025 · 0 comments
Open

separate viewsets into files #42

Floris272 opened this issue Feb 7, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Floris272
Copy link
Contributor

Floris272 commented Feb 7, 2025

producttypes/views is becoming a bit too large so it would be a good idea to split so that each viewset has it's own file. This file contains the viewset with drf schema annotation and action and the used FilterSet class

  • Some api test files are also too large and can be split into tests for crud, actions and filters

  • Admin tests could also have their own folder.

  • define request & response examples for all methods

    • add response and request sample to every viewset
    • add examples to every method of extend_schema_view
@Floris272 Floris272 converted this from a draft issue Feb 7, 2025
@Floris272 Floris272 added the enhancement New feature or request label Feb 7, 2025
@Floris272 Floris272 moved this from Todo to In Progress in Open Producten Feb 11, 2025
@Floris272 Floris272 self-assigned this Feb 11, 2025
@Floris272 Floris272 moved this from In Progress to Todo in Open Producten Feb 11, 2025
@Floris272 Floris272 added this to the mvp 1.0.0 milestone Feb 11, 2025
@Floris272 Floris272 moved this from Todo to In Progress in Open Producten Feb 17, 2025
@Floris272 Floris272 removed the blocked label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant