-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42fb291
commit 6d1b8ca
Showing
5 changed files
with
84 additions
and
94 deletions.
There are no files selected for viewing
73 changes: 73 additions & 0 deletions
73
bartenders/migrations/0004_alter_bartender_email_alter_bartender_tshirt_size_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Generated by Django 4.2 on 2024-10-17 23:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bartenders", "0003_auto_20240915_2045"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="bartender", | ||
name="email", | ||
field=models.EmailField( | ||
blank=True, | ||
help_text="En post.au mail fungerer ikke", | ||
max_length=254, | ||
unique=True, | ||
verbose_name="E-mail", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="bartender", | ||
name="tshirt_size", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("XS", "XS"), | ||
("S", "S"), | ||
("M", "M"), | ||
("L", "L"), | ||
("XL", "XL"), | ||
("XXL", "XXL"), | ||
("XXXL", "XXXL"), | ||
], | ||
max_length=140, | ||
null=True, | ||
verbose_name="T-shirt størrelse", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="bartenderapplication", | ||
name="email", | ||
field=models.EmailField( | ||
blank=True, | ||
help_text="En post.au mail fungerer ikke", | ||
max_length=254, | ||
unique=True, | ||
verbose_name="E-mail", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="bartenderapplication", | ||
name="tshirt_size", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("XS", "XS"), | ||
("S", "S"), | ||
("M", "M"), | ||
("L", "L"), | ||
("XL", "XL"), | ||
("XXL", "XXL"), | ||
("XXXL", "XXXL"), | ||
], | ||
max_length=140, | ||
null=True, | ||
verbose_name="T-shirt størrelse", | ||
), | ||
), | ||
] |
49 changes: 0 additions & 49 deletions
49
bartenders/migrations/0004_alter_bartender_tshirt_size_and_more.py
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
bartenders/migrations/0005_alter_bartender_email_and_more.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ def test_accepting_application(self): | |
phoneNumber=42345123, | ||
) | ||
ap = BartenderApplication.objects.create( | ||
**d, tshirt_size=2, study="Datalogi", study_year=1 | ||
**d, tshirt_size="L", study="Datalogi", study_year=1 | ||
) | ||
ap.accept() | ||
|
||
|
@@ -66,7 +66,7 @@ def test_sending_application(self): | |
email="[email protected]", | ||
studentNumber=123123, | ||
phoneNumber=12312312, | ||
tshirt_size=2, | ||
tshirt_size="L", | ||
study="Datalogi", | ||
study_year=1, | ||
info="Hkll", | ||
|