Vote count: 0 I have a form wizard that I have another URL that allows a user to edit the form, populating it with data in the database. It seems to work fine for all CharFields, but will the change the selected, (value) of the CharField with forms.Select() widget to reflect the value. All other form rows in the form set are populated correctly. output of the dict to be retued resources dict: [ { 'res_details': u'Sniper Rifle', 'res_justification': u'Shooting', 'res_task': }, { 'res_details': u'Vantage Point', 'res_justification': u'Succeeding', 'res_task': }] Notice in the second row, the select box is not reflecting the respective 'res_task': and is instead just defaulting to the first ind...
ادامه مطلب