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

Add models #40

Merged
merged 7 commits into from
Mar 8, 2024
Merged

Add models #40

merged 7 commits into from
Mar 8, 2024

Conversation

jimnarey
Copy link
Contributor

@jimnarey jimnarey commented Mar 7, 2024

Add models, as required by the current version of the Mural.

This adds django-phonenumber-field, however the main functionality (validation) has to be added to the forms rather than the models.

It also adds simple-history and includes it in the Review model, however further config will be needed to determine what is logged on change.

request/views.py has been changed to remove a reference to the now-removed model and the reference to that model removed from the confirm page view.

jimnarey added 7 commits March 8, 2024 11:21
Models to reflect the current thinking on the data required to
make a decision on an application. In the Review model we use
the simple-history package to track changes made to the review
fields.
And the references to it in the confirm page view. Comment out
the assignment of the registration data to stop flake8
complaining.
So we only have registrant types recorded in one place.
@jimnarey jimnarey merged commit 07e8173 into main Mar 8, 2024
1 check passed
@jimnarey jimnarey deleted the add-models branch April 18, 2024 09:27
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