1👍
✅
you should join the returned list using the comma separted values. This will return the string.
returns = ', '.join(returned_items)
0👍
This piece of code is setting returns to a list:
returns = returned_items[:]
If you want to access the first string, set it to returned_items[0]. If you want to join all strings in the list, use join()
returns = "".join(returned_items)
- Django celery rabbitmq issue: "WARNING/MainProcess] Received and deleted unknown message. Wrong destination"
- Django Reverse Query OFFSET 1
- Relative Template Import
- Django Form validate arabic CharField
Source:stackexchange.com