How can I send a column from one field of the queryset model to the form?

Good day! I have a model table. And a form. I filter the query from the queryset model by certain criteria and send it to the code in views.

From the filtered queryset I would like to take only one column - according to one field of the model.

And convert this column from one field to a list or another element.

How can I send a column from one field of the queryset model to the form?

As the names of the fields in the form something like verbose_name=

How can I send a column from one field of the queryset model to the form?

Good day! I have a model table. And a form. I filter the query from the queryset model by certain criteria and send it to the code in views.

From the filtered queryset I would like to take only one column - according to one field of the model.

And convert this column from one field to a list or another element.

How can I send a column from one field of the queryset model to the form?

As the names of the fields in the form something like verbose_name=.

Вернуться на верх