TOMToolkit / tom_base

The base Django project for a Target and Observation Manager
https://tom-toolkit.readthedocs.io
GNU General Public License v3.0
26 stars 46 forks source link

Support for multiple custom target models #1038

Open rachel3834 opened 2 months ago

rachel3834 commented 2 months ago

The TOMs support for user-defined Target models is great, and works well for TOMs that concentrate on targets of a single type.
However, a number of user-groups (notably the BHTOM group and PTR), especially larger collaborations, include subgroups who are interested in specializing in a number of different Target types. Examples include supernovae, periodic variable stars and asteroids.

Each different Target type will have different science-specific parameters associated with it. Users are likely to want to have custom views and templates, particularly for the target detail pages of different Target types. For example, the detail page for supernovae Targets needs to display triplet of reference, recent and subtracted images, whereas the detail page for an RR Lyrae star would need to include displays and tools of lightcurve period analysis and phase folding.

Describe the solution you'd like @jchate6 has already done some research into an implementation that supported multiple different user data models and identifed alternative ways to approach this but also found a number of significant hurdles.

The first step will be to explore these issues further and consider alternative implementations.

jchate6 commented 2 months ago

See Issue #1028