pkmntrade.club/trades
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
..
migrations reorganizing build scripts 2025-04-17 16:21:26 -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 Initial working version with minor bugs 2025-02-26 00:17:06 -08:00
admin.py fix card_multiselect filtering and quantity controls 2025-03-13 15:48:26 -07:00
apps.py 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
forms.py 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
mixins.py Fix friend_code max length issues in tests, and fix in_game_name length issues, also update tests to fit more scenarios 2025-03-27 17:26:07 -07:00
models.py 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
signals.py 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
tests.py Move profile and settings into the new unified dashboard, showing user info in one place 2025-03-31 22:20:59 -07:00
urls.py Fixes to trade expansion and trade acceptance appearance 2025-04-03 17:09:51 -07:00
views.py 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