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

851 extending target model #885

Merged
merged 78 commits into from
Jul 1, 2024
Merged

851 extending target model #885

merged 78 commits into from
Jul 1, 2024

Conversation

jchate6
Copy link
Contributor

@jchate6 jchate6 commented Mar 25, 2024

This is a decent sized refactor to give a user the ability to create their own Target Model.
The original Target model has been replaced by a BaseTarget model and moved into a new file called base_models.py. The Target model is then set to be the same as BaseTarget unless a different user model is specified.

Docs have been added to explain how a user can extend their target model.

@jchate6 jchate6 requested a review from phycodurus April 15, 2024 16:48
@jchate6 jchate6 marked this pull request as ready for review April 15, 2024 16:56
@jchate6 jchate6 linked an issue Apr 15, 2024 that may be closed by this pull request
5 tasks
@jchate6
Copy link
Contributor Author

jchate6 commented Apr 15, 2024

I broke these tests with the Django restframes update that just got merged in from Dev...

jchate6 and others added 2 commits May 31, 2024 10:25
…faults-to-converttargetextras

 add option to override defaults to converttargetextras
@rachel3834
Copy link
Contributor

Alpha testing v2.19.0a2 and migrating the MOP TOM system over to use these extended Target models is now complete. Overall the conversion process went very smoothly. In the process I also made extensive use of the new cone search feature to check for duplicated Targets. This was a much more involved process due to MOP-specific data, but that is also now complete, and I think we can accept this story.

@jchate6 jchate6 requested a review from phycodurus June 27, 2024 15:42
@jchate6 jchate6 merged commit 9e78942 into dev Jul 1, 2024
25 checks passed
@jchate6 jchate6 deleted the 851-extending-target-model branch July 1, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Extending Target Model with user defined target data
3 participants