1. When the loop isn't entered at all.</div><div>2. When the loop terminates through exhaustion of the list (does this include when the list was empty?)</div><div>3. When the loop didn't exit because of a break statement.</div>
<div><br></div><div>HINTS: The way django does it is opposite the way python does it and there may be more than one correct answer.<br><br></div></div></div></div></blockquote><div><br>Django's template language does not have for/else, it has for/empty: <a href="http://docs.djangoproject.com/en/dev/ref/templates/builtins/#for-empty" target="_blank">http://docs.djangoproject.com/en/dev/ref/templates/builtins/#for-empty</a><br>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4