pkmntrade.club/theme
badbl0cks 4e50e1545c Refactor card badge and multiselect template tags to properly implement and/or improve caching and context handling
- Updated `card_badge` and `card_multiselect` template tags to utilize `reverse_lazy` for URL resolution.
- Enhanced caching mechanisms in `card_badge.html` and `card_multiselect.html` to improve performance.
- Introduced a new template `_card_multiselect_options.html` for rendering multiselect options.
- Improved context management in `card_multiselect` to handle selected cards and dynamic placeholders.
- Added error handling for query hashing in `card_multiselect` to ensure robustness.
- Updated `trade_offer_tags` to optimize database queries using `select_related` for related objects.
2025-04-29 13:50:52 -07:00
..
static_src use <a> tags for card_badge and trade_offer clickable areas (except for main card_badge row on trade_offers, still uses @click for now because the a tag can't wrap that content for some reason). closes #14 2025-04-15 00:15:08 -07:00
templates update caching on homepage, and add db checks to healthcheck 2025-04-29 12:50:07 -07:00
templatetags Refactor card badge and multiselect template tags to properly implement and/or improve caching and context handling 2025-04-29 13:50:52 -07:00
__init__.py Add tailwind and daisyUI 2025-03-11 23:47:19 -07:00
apps.py Add tailwind and daisyUI 2025-03-11 23:47:19 -07:00