Got rid of an obsolete setting

This commit is contained in:
Raphael Michel
2015-12-03 21:59:14 +01:00
parent 53e843ca82
commit 411eb3c60f
3 changed files with 0 additions and 10 deletions

View File

@@ -11,10 +11,6 @@ from typing import Any, Callable, Dict, Optional, TypeVar, Union
from versions.models import Versionable
DEFAULTS = {
'user_mail_required': {
'default': 'False',
'type': bool
},
'max_items_per_order': {
'default': '10',
'type': int

View File

@@ -119,11 +119,6 @@ class EventSettingsForm(SettingsForm):
choices=settings.LANGUAGES,
label=_("Default language"),
)
user_mail_required = forms.BooleanField(
label=_("Require e-mail adresses"),
help_text=_("Require all customers to provide an e-mail address."),
required=False
)
attendee_names_asked = forms.BooleanField(
label=_("Ask for attendee names"),
help_text=_("Ask for a name for all tickets which include admission to the event."),

View File

@@ -39,7 +39,6 @@
<legend>{% trans "Order process settings" %}</legend>
{% bootstrap_field sform.reservation_time layout="horizontal" %}
{% bootstrap_field sform.max_items_per_order layout="horizontal" %}
{% bootstrap_field sform.user_mail_required layout="horizontal" %}
{% bootstrap_field sform.attendee_names_asked layout="horizontal" %}
{% bootstrap_field sform.attendee_names_required layout="horizontal" %}
</fieldset>