transform rsvpCodes to uppercase
This commit is contained in:
parent
9b8fa8721f
commit
ffca8d24a1
|
@ -10,7 +10,7 @@ def try_again(request):
|
|||
return render(request, 'index.html', {'invalid_code': True})
|
||||
|
||||
def rsvp(request):
|
||||
rsvpCode = request.GET['rsvp-code']
|
||||
rsvpCode = request.GET['rsvp-code'].upper()
|
||||
guests = InvitedGuest.objects.filter(rsvpCode = rsvpCode)
|
||||
if request.method == 'GET':
|
||||
if not guests:
|
||||
|
|
Loading…
Reference in New Issue