12👍
If you really want to keep those nasty long names, what I would do is:
{% for a, b, c in items %}
{% with a as some_item %}
{% with b as some_another_item %}
{% with c as again_some_another_item_with_long_name %}
bla bla bla ..
{% endwith %}
{% endwith %}
{% endwith %}
{% endfor %}
-1👍
You can use ‘word wrap’ or ‘soft wraps’ feature of your text editor.
In the PyCharm if you search by soft
you will see:
- [Django]-Django static page?
- [Django]-Additional conditions on join in django
- [Django]-How do I refresh the values on an object in Django?
Source:stackexchange.com