| Instead of embedding the entire tag list in the search.html template every single time, this script loads the tags from the new, cache-enabled endpoint /all_tags.json. Then we can use html5 datalists to create autocomplete forms on the search and photo pages. | ||
|---|---|---|
| .. | ||
| endpoints | ||
| __init__.py | ||
| caching.py | ||
| common.py | ||
| decorators.py | ||
| jinja_filters.py | ||
| jsonify.py | ||
| sessions.py | ||