mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-22 03:51:08 -05:00
- 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
18 lines
573 B
Python
18 lines
573 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class ParksConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "apps.parks"
|
|
|
|
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"
|
|
)
|