Skip to content

Split up form models into individual files#236

Merged
miggol merged 6 commits intodevelopfrom
feat/split-up-form-models
Apr 29, 2026
Merged

Split up form models into individual files#236
miggol merged 6 commits intodevelopfrom
feat/split-up-form-models

Conversation

@miggol
Copy link
Copy Markdown
Contributor

@miggol miggol commented Apr 22, 2026

I did this at the start of my new feature but you guys are developing way too fast, causing me to have to de a lengthy rebase rather often. Hope you all agree this tidies up the models.py situation :)

Form tests get the same treatment. Should be functionally equivalent.

Copy link
Copy Markdown
Contributor

@XanderVertegaal XanderVertegaal left a comment

Choose a reason for hiding this comment

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

Great, much cleaner :)

Comment thread backend/form/models/questions.py Outdated
from django.db import models


# Questions
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.

These comments that are now at the top of each file were meant to give structure to our old monolithic models.py. As far as I am concerned, these can go now, but I'll leave that up to you :)

@miggol miggol merged commit 65f8d77 into develop Apr 29, 2026
4 checks passed
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