4 ms·
So it does. I wonder what language I was thinking of then.
by adambard 13y ago
So it does. I wonder what language I was thinking of then.
- Lazare 13y agoThis is a long shot, but could you be thinking of the Django template language? https://docs.djangoproject.com/en/dev/ref/templates/builtins/#for-empty https://docs.djangoproject.com/en/dev/ref/templates/builtins... <ul> {% for athlete in athlete_list %} <li>{{ athlete.name }}</li> {% empty %} <li>Sorry, no athletes in this list.</li> {% endfor %} </ul>