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

Refactor model validation on save #553

Open
raphodn opened this issue Nov 8, 2024 · 0 comments
Open

Refactor model validation on save #553

raphodn opened this issue Nov 8, 2024 · 0 comments
Labels

Comments

@raphodn
Copy link
Member

raphodn commented Nov 8, 2024

What

We currently override the model save/full_clean step, to add model-level validation.
There are many rules and cases (new object or editing).

I think it would be better to move this in a seperate file.

We could also leverage https://github.com/romgar/django-dirtyfields ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants