ELVIS-Project / simssadb

New version of the ELVIS database. A database of files containing searchable symbolic representations of scores. See staging at db.staging.simmsa.ca.
https://db.simssa.ca
GNU General Public License v3.0
5 stars 4 forks source link

Ajax for autocomplete widgets #428

Closed rebmizrahi closed 1 year ago

rebmizrahi commented 1 year ago

Changes made for the autocomplete widgets; in the uploads form, the user is prompted to select a pre-existing object from the database; if it isn't there, they can create a new object with ajax. Adds ajax functions so that objects can be created from the uploads form template. Required (1) a function in the template that triggers (2) a function in a separate view for creating objects and (3) updates to urls to reflect this change. Also adds more autocomplete functionality for person and work autocomplete.