mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-30 08:07:01 -05:00
feat: Implement MFA authentication, add ride statistics model, and update various services, APIs, and tests across the application.
This commit is contained in:
@@ -2,7 +2,6 @@ import logging
|
||||
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -30,15 +29,15 @@ class RidesConfig(AppConfig):
|
||||
|
||||
def _register_callbacks(self):
|
||||
"""Register FSM transition callbacks for ride models."""
|
||||
from apps.core.state_machine.registry import register_callback
|
||||
from apps.core.state_machine.callbacks.cache import (
|
||||
RideCacheInvalidation,
|
||||
APICacheInvalidation,
|
||||
RideCacheInvalidation,
|
||||
)
|
||||
from apps.core.state_machine.callbacks.related_updates import (
|
||||
ParkCountUpdateCallback,
|
||||
SearchTextUpdateCallback,
|
||||
)
|
||||
from apps.core.state_machine.registry import register_callback
|
||||
from apps.rides.models import Ride
|
||||
|
||||
# Cache invalidation for all ride status changes
|
||||
|
||||
Reference in New Issue
Block a user