2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-03-27 23:51:49 +00:00

SurvexPersonTeam renamed form survexpersonrole

This commit is contained in:
2026-02-01 14:56:31 +00:00
parent c899c0749c
commit fd2f920745
11 changed files with 37 additions and 37 deletions

View File

@@ -8,7 +8,7 @@ from django.http import HttpResponse
from django.shortcuts import render
from troggle.core.models.caves import GetCaveLookup
from troggle.core.models.survex import SingleScan, SurvexBlock, SurvexPersonRole
from troggle.core.models.survex import SingleScan, SurvexBlock, SurvexPersonTeam
from troggle.core.models.troggle import DataIssue, Expedition, Person, PersonExpedition
from troggle.core.models.wallets import Wallet
from troggle.core.utils import DatabaseResetOngoing, current_expo
@@ -198,7 +198,7 @@ def walletslistperson(request, slug):
manywallets = set()
# Get the persons from the survexblocks on the survexfiles attached to the wallet directly
sps = SurvexPersonRole.objects.filter(person=p)
sps = SurvexPersonTeam.objects.filter(person=p)
for sp in sps:
w = sp.survexblock.scanswallet
if w: