A table definition
db.define_table("plugin_pyodel_attendance",
Field("student", "reference auth_user",
default=auth.user_id),
Field("course", "reference plugin_pyodel_course"),
Field("paid", "double", default=0.0),
Field("allowed", "boolean", default=False),
Field("passed", default=False),
Field("score", "double"),
format="%(student)s"
)
I have previously inserted two users with the registration feature.
I attached a screenshot with the appadmin insert form view output.
For my understanding, the form should by default present a combo widget for the student field
Perhaps I could look for validators defined elsewhere but I'm pretty sure I'm not using them.
No big deal if the problem is only for appadmin but would'n there be similar problems with default forms when using crud, etc?