Please see this question.
It’s looks like you need a collection of tuples (value, label)
as chooses for the CharField
model. In your case, the value and the label are the same.
solved Understanding “(item, item) for item in …” [closed]
Please see this question.
It’s looks like you need a collection of tuples (value, label)
as chooses for the CharField
model. In your case, the value and the label are the same.
solved Understanding “(item, item) for item in …” [closed]