- 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.
9 lines
210 B
Python
9 lines
210 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class TradesConfig(AppConfig):
|
|
name = "trades"
|
|
|
|
def ready(self):
|
|
# Implicitly connect signal handlers decorated with @receiver.
|
|
import trades.signals
|