chore: fix pghistory migration deps and improve htmx utilities

- Update pghistory dependency from 0007 to 0006 in account migrations
- Add docstrings and remove unused imports in htmx_forms.py
- Add DJANGO_SETTINGS_MODULE bash commands to Claude settings
- Add state transition definitions for ride statuses
This commit is contained in:
pacnpal
2025-12-21 17:33:24 -05:00
parent b9063ff4f8
commit 7ba0004c93
74 changed files with 11134 additions and 198 deletions

View File

@@ -7,3 +7,11 @@ class ParksConfig(AppConfig):
def ready(self):
import apps.parks.signals # noqa: F401 - Register signals
import apps.parks.choices # noqa: F401 - Register choices
from apps.core.state_machine import apply_state_machine
from apps.parks.models import Park
# Register FSM transitions for Park
apply_state_machine(
Park, field_name="status", choice_group="statuses", domain="parks"
)