Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Added mentoring information for registration
Browse files Browse the repository at this point in the history
  • Loading branch information
manavgabhawala committed Mar 24, 2017
1 parent 2ef39f7 commit 31332bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MHacks/v1/scan_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ def swag_scan_verify(request, scanned_user):
succeeded = False
else:
all_fields.append(_create_field('T-SHIRT SIZE', registration.t_shirt_size))
application = scanned_user.application_or_none()
if application and application.mentoring:
all_fields.append(_create_field('MENTOR', 'Yes', color='0000FF'))

return succeeded, all_fields

Expand Down

0 comments on commit 31332bd

Please sign in to comment.