TNRIS / api.tnris.org

Django RESTful API and PostgreSQL backend database management system for maintaining and serving Texas GIO's available data and content.

Home Page:https://api.tnris.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multi-select forms on creation - throws DoesNotExist

jwhaney opened this issue · comments

image

does not only occur when creating a new collection, but also new training record for tnris.org and possibly other forms.

details:
when you create a new training record, and you select from the instructors multi-select input while creating that new record, a DoesNotExist error is thrown on save because the training record does not exist yet and the functions in forms.py try to use both the domain table and the training table instances at the same time.