mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2026-01-02 03:27:02 -05:00
feat: Implement initial schema and add various API, service, and management command enhancements across the application.
This commit is contained in:
@@ -12,9 +12,7 @@ class RideLocation(models.Model):
|
||||
"""
|
||||
|
||||
# Relationships
|
||||
ride = models.OneToOneField(
|
||||
"rides.Ride", on_delete=models.CASCADE, related_name="ride_location"
|
||||
)
|
||||
ride = models.OneToOneField("rides.Ride", on_delete=models.CASCADE, related_name="ride_location")
|
||||
|
||||
# Optional Spatial Data - keep it simple with single point
|
||||
point = gis_models.PointField(
|
||||
@@ -29,9 +27,7 @@ class RideLocation(models.Model):
|
||||
max_length=100,
|
||||
blank=True,
|
||||
db_index=True,
|
||||
help_text=(
|
||||
"Themed area or land within the park (e.g., 'Frontierland', 'Tomorrowland')"
|
||||
),
|
||||
help_text=("Themed area or land within the park (e.g., 'Frontierland', 'Tomorrowland')"),
|
||||
)
|
||||
|
||||
# General notes field to match database schema
|
||||
|
||||
Reference in New Issue
Block a user