mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-22 11:11:10 -05:00
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:
@@ -6,4 +6,12 @@ class RidesConfig(AppConfig):
|
||||
name = "apps.rides"
|
||||
|
||||
def ready(self):
|
||||
pass
|
||||
import apps.rides.choices # noqa: F401 - Register choices
|
||||
import apps.rides.tasks # noqa: F401 - Register Celery tasks
|
||||
from apps.core.state_machine import apply_state_machine
|
||||
from apps.rides.models import Ride
|
||||
|
||||
# Register FSM transitions for Ride
|
||||
apply_state_machine(
|
||||
Ride, field_name="status", choice_group="statuses", domain="rides"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user