diff --git a/src/db.sqlite3 b/src/db.sqlite3 index 7a4d999..3dd8573 100644 Binary files a/src/db.sqlite3 and b/src/db.sqlite3 differ diff --git a/src/mainapp/models.py b/src/mainapp/models.py index f79de2b..3fabee1 100644 --- a/src/mainapp/models.py +++ b/src/mainapp/models.py @@ -31,7 +31,7 @@ class ReusableAutoField(models.PositiveIntegerField): class Peg(models.Model): - """Represents a person getting pegged""" + """Represents a person's peg""" peg_number = ReusableAutoField(primary_key=True, default=ReusableAutoField.get_default, editable=False) @@ -74,13 +74,13 @@ def validate_section_character(value): banned_characters = ["I"] if value in banned_characters: - raise ValidationError(f"The character <{value}> is a prohibited character because fuck you I guess") + raise ValidationError(f"The character <{value}> is a prohibited character.") class Section(models.Model): """Represents a section of the scoreboard""" - # character field stores a single character but doesnt allow for 'E' or 'e' + # character field stores a single character but doesnt allow for 'I' or 'i' character = models.CharField(primary_key=True, max_length=1, validators=(validate_section_character, )) def clean(self): diff --git a/src/mainapp/templates/entities/bulk_pegging.html b/src/mainapp/templates/entities/bulk_pegging.html index 4f84335..3643638 100644 --- a/src/mainapp/templates/entities/bulk_pegging.html +++ b/src/mainapp/templates/entities/bulk_pegging.html @@ -24,7 +24,7 @@