Skip to content

Move custom querysets/managers to be near model#3707

Merged
rhysyngsun merged 1 commit into
mainfrom
nl/organize_course_models
Jun 29, 2026
Merged

Move custom querysets/managers to be near model#3707
rhysyngsun merged 1 commit into
mainfrom
nl/organize_course_models

Conversation

@rhysyngsun

Copy link
Copy Markdown
Collaborator

What are the relevant tickets?

N/A

Description (What does it do?)

It's a pain to navigate all over models.py for querysets definitions, it makes more sense for them to be local to the model definition instead of all at the top of this file.

How can this be tested?

Tests should pass

@github-actions

Copy link
Copy Markdown

OpenAPI Changes

Show/hide ## Changes for v0.yaml:
## Changes for v0.yaml:
No changes detected

## Changes for v1.yaml:
No changes detected

## Changes for v2.yaml:
No changes detected

Unexpected changes? Ensure your branch is up-to-date with main (consider rebasing).

@annagav annagav self-requested a review June 29, 2026 12:08

@annagav annagav left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@rhysyngsun rhysyngsun merged commit e44f222 into main Jun 29, 2026
9 checks passed
@rhysyngsun rhysyngsun deleted the nl/organize_course_models branch June 29, 2026 12:16
@odlbot odlbot mentioned this pull request Jun 29, 2026
6 tasks
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