For users not logged in (like the app), we have to use the username
coming from the token
with transaction.atomic():
reg = get_object_or_404(ConferenceRegistration, conference=conference, payconfirmedat__isnull=False, canceledat__isnull=True, publictoken=token)
- reglog(reg, "Marked scanner field {}".format(fieldname), request.user)
+ reglog(reg, "Marked scanner field {}".format(fieldname), user)
reg.dynaprops[fieldname] = datetime_string(timezone.now())
reg.save(update_fields=['dynaprops'])
return _json_response({