From d7d4d73af33f698e47ae833172cdfeba41671e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Fri, 8 May 2020 16:34:19 +0200 Subject: [PATCH] typos --- events/models.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/events/models.py b/events/models.py index e334784e..9b166599 100644 --- a/events/models.py +++ b/events/models.py @@ -1,8 +1,8 @@ """ Event framework for GestioCOF and GestioBDS. -The events implemented in this module provide two type of customisation to event -creators (the COF and BDS staff): options and extra (text) field. +The events implemented in this module provide two types of customisations to event +creators (the COF and BDS staff): options and extra (text) fields. Options ------- @@ -10,7 +10,7 @@ Options An option is an extra field in the registration form with a predefined list of available choices. Any number of options can be added to an event. -For instance, a typical use-case if for events where meals are served to participants +For instance, a typical use-case is events where meals are served to participants with different possible menus, say: vegeterian / vegan / without pork / etc. This example can be implemented with an `Option(name="menu")` and an `OptionChoice` for each available menu. @@ -62,8 +62,8 @@ class Option(models.Model): """Extra form fields with a limited set of available choices. The available choices are given by `OptionChoice`s (see below). A typical use-case - is for events where the participants have the choice between different menus (e.g. - vegan / vegetarian / without-pork / whatever). + is events where the participants have the choice between different menus (e.g. + vegan / vegetarian / without-pork / etc). """ event = models.ForeignKey(Event, on_delete=models.CASCADE, related_name="options")