[Django]-Django query executed in view returns old data

4👍

hwChoices is evaluated when the form is defined – ie when the process starts.

Do the calculation in the form’s __init__ method instead.

Leave a comment