mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 07:11:08 -05:00
refactor: Rename launch_type to propulsion_system across the codebase
This commit is contained in:
@@ -389,8 +389,8 @@ COASTER_TYPES = [
|
||||
),
|
||||
]
|
||||
|
||||
# Launch System Choices
|
||||
LAUNCH_SYSTEMS = [
|
||||
# Propulsion System Choices
|
||||
PROPULSION_SYSTEMS = [
|
||||
RichChoice(
|
||||
value="CHAIN",
|
||||
label="Chain Lift",
|
||||
@@ -442,7 +442,7 @@ LAUNCH_SYSTEMS = [
|
||||
RichChoice(
|
||||
value="OTHER",
|
||||
label="Other",
|
||||
description="Launch system that doesn't fit standard categories",
|
||||
description="Propulsion system that doesn't fit standard categories",
|
||||
metadata={
|
||||
'color': 'gray',
|
||||
'icon': 'other',
|
||||
@@ -760,11 +760,11 @@ def register_rides_choices():
|
||||
)
|
||||
|
||||
register_choices(
|
||||
name="launch_systems",
|
||||
choices=LAUNCH_SYSTEMS,
|
||||
name="propulsion_systems",
|
||||
choices=PROPULSION_SYSTEMS,
|
||||
domain="rides",
|
||||
description="Roller coaster launch and lift systems",
|
||||
metadata={'domain': 'rides', 'type': 'launch_system', 'applies_to': 'roller_coasters'}
|
||||
description="Roller coaster propulsion and lift systems",
|
||||
metadata={'domain': 'rides', 'type': 'propulsion_system', 'applies_to': 'roller_coasters'}
|
||||
)
|
||||
|
||||
register_choices(
|
||||
|
||||
Reference in New Issue
Block a user