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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user