Oh, speaking of models, they don't seem to be saving correctly. The object which should be the "main parent" model is only listed as
"-- name"
"-- randomnumber"
instead of code, and so trying to insert it causes an error.
"-- name"
"-- randomnumber"
instead of code, and so trying to insert it causes an error.