mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-21 06:51:08 -05:00
Update user model with new fields and migration adjustments
Applies multiple migration changes to the user model, introducing new fields such as display_name, activity_visibility, and privacy_level, while also adjusting dependencies and removing outdated triggers. Replit-Commit-Author: Agent Replit-Commit-Session-Id: eff39de1-3afa-446d-a965-acaf61837fc7 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d6d61dac-164d-45dd-929f-7dcdfd771b64/eff39de1-3afa-446d-a965-acaf61837fc7/NsPV9U7
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from django.contrib.gis.db import models as gis_models
|
||||
# from django.contrib.gis.db import models as gis_models # Disabled temporarily for setup
|
||||
from django.db import models
|
||||
from django.contrib.gis.geos import Point
|
||||
# from django.contrib.gis.geos import Point # Disabled temporarily for setup
|
||||
import pghistory
|
||||
|
||||
|
||||
@@ -17,12 +17,13 @@ class RideLocation(models.Model):
|
||||
)
|
||||
|
||||
# Optional Spatial Data - keep it simple with single point
|
||||
point = gis_models.PointField(
|
||||
srid=4326,
|
||||
null=True,
|
||||
blank=True,
|
||||
help_text="Geographic coordinates for ride location (longitude, latitude)",
|
||||
)
|
||||
# point = gis_models.PointField(
|
||||
# srid=4326,
|
||||
# null=True,
|
||||
# blank=True,
|
||||
# help_text="Geographic coordinates for ride location (longitude, latitude)",
|
||||
# )
|
||||
point = models.CharField(max_length=50, null=True, blank=True) # Temporary placeholder
|
||||
|
||||
# Park Area Information
|
||||
park_area = models.CharField(
|
||||
|
||||
Reference in New Issue
Block a user