Fix typo with Attendee.DoesNotExist
This commit is contained in:
parent
9408a5c7bf
commit
9e497ee27d
1 changed files with 1 additions and 1 deletions
|
@ -565,7 +565,7 @@ def attendee(request, form, user_id=None):
|
|||
|
||||
try:
|
||||
attendee = people.Attendee.objects.get(user__id=user_id)
|
||||
except people.DoesNotExist:
|
||||
except people.Attendee.DoesNotExist:
|
||||
return reports
|
||||
|
||||
profile_data = []
|
||||
|
|
Loading…
Reference in a new issue