| 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. | ||
|---|---|---|
| .. | ||
| __init__.py | ||
| constants.py | ||
| decorators.py | ||
| exceptions.py | ||
| helpers.py | ||
| jsonify.py | ||
| objects.py | ||
| photodb.py | ||
| searchhelpers.py | ||
| tag_export.py | ||