diff --git a/core/views/caves.py b/core/views/caves.py index edf5c4a..09b3773 100644 --- a/core/views/caves.py +++ b/core/views/caves.py @@ -507,7 +507,7 @@ def qm(request,cave_id,qm_id,year,grade=None, blockname=None): if len(qmqs) > 1: for q in qmqs: print(qmqs) - message = f'Multiple QMs with the same cave, year, number, grade AND first 8 chars of the survexblock name. Fix this in the survex file(s). {cave_id=} {year=} {qm_id=} {blockname=}' + message = f'Multiple QMs with the same cave, year, number, grade AND first 8 chars of the survexblock name. (Could be caused by incomplete databasereset). Fix this in the survex file(s). {cave_id=} {year=} {qm_id=} {blockname=}' return render(request,'errors/generic.html', {'message': message}) else: qm=qmqs.get(expoyear=year, blockname=blockname, number=qm_id, grade=grade)