almost finish migrate new circumstances

This commit is contained in:
2025-08-24 19:44:36 +09:00
parent 1ba305641e
commit fe5a044c82
67 changed files with 1194889 additions and 467 deletions

View File

@ -2,7 +2,7 @@
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework import status
from rog.models import NewEvent2, Entry,Location, GpsLog
from rog.models import NewEvent2, Entry, Location2025, GpsLog
import logging
from django.db.models import F, Q
from django.conf import settings
@ -332,7 +332,7 @@ def analyze_point(request):
try:
# イベントのチェックポイント定義を取得
event_cps = Location.objects.filter(event=event)
event_cps = Location2025.objects.filter(event=event)
# チームが通過したチェックポイントを取得
team_cps = GpsLog.objects.filter(entry=entry)