Skip to content
Snippets Groups Projects
Commit 74be8781 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

This TODO is not needed anymore, we handle registrations without attendee names or emails

parent 873f373d
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,6 @@ def add_public_registrations_html_head(sender, request=None, **kwargs): ...@@ -33,7 +33,6 @@ def add_public_registrations_html_head(sender, request=None, **kwargs):
@receiver(question_form_fields, dispatch_uid="public_registration_question") @receiver(question_form_fields, dispatch_uid="public_registration_question")
def add_public_registration_question(sender, position, **kwargs): def add_public_registration_question(sender, position, **kwargs):
# TODO: This should also filter by items with an attendee
if str(position.item.pk) in sender.settings.get('public_registrations_items'): if str(position.item.pk) in sender.settings.get('public_registrations_items'):
return {'public_registrations_public_registration': forms.BooleanField( return {'public_registrations_public_registration': forms.BooleanField(
label=_('Public registration'), label=_('Public registration'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment