Need to list items per-user

Without this important line, each user gets the same manifest. not helpful.
This commit is contained in:
James Polley 2018-01-19 20:18:50 +11:00
parent f9066d25d5
commit a7b619a2fd

View file

@ -1020,6 +1020,7 @@ def manifest(request, form):
output = [] output = []
for user in users_by_name: for user in users_by_name:
items = users[user]
if hasattr(user, "checkin") and hasattr(user.checkin, "checkin_code"): if hasattr(user, "checkin") and hasattr(user.checkin, "checkin_code"):
code = user.checkin.checkin_code code = user.checkin.checkin_code
else: else: