1👍
You can use the .getlist(…)
method [Django-doc] to access the list of values, so:
>>> print(data.getlist('colors'))
['red', 'green']
Source:stackexchange.com
1👍
You can use the .getlist(…)
method [Django-doc] to access the list of values, so:
>>> print(data.getlist('colors'))
['red', 'green']