How to split long line in Django template?

后端 未结 2 1655
太阳男子
太阳男子 2021-02-12 11:50

I have a line in my Django template that is too long:

 {% for some_item, some_another_item, again_some_another_item_with_long_name in items %}

Is

2条回答
  •  悲哀的现实
    2021-02-12 12:18

    You can use 'word wrap' or 'soft wraps' feature of your text editor. In the PyCharm if you search by soft you will see:

提交回复
热议问题