-
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.
Merge pull request #19 from fredagscafeen/Bootstrap5
Bootstrap5
- Loading branch information
Showing
38 changed files
with
499 additions
and
299 deletions.
There are no files selected for viewing
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
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
49 changes: 49 additions & 0 deletions
49
bartenders/migrations/0004_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,49 @@ | ||
# Generated by Django 4.2 on 2024-10-17 19:52 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bartenders", "0003_auto_20240915_2045"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="bartender", | ||
name="tshirt_size", | ||
field=models.IntegerField( | ||
blank=True, | ||
choices=[ | ||
(0, "XS"), | ||
(1, "S"), | ||
(2, "M"), | ||
(3, "L"), | ||
(4, "XL"), | ||
(5, "XXL"), | ||
(6, "XXXL"), | ||
], | ||
null=True, | ||
verbose_name="T-shirt størrelse", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="bartenderapplication", | ||
name="tshirt_size", | ||
field=models.IntegerField( | ||
blank=True, | ||
choices=[ | ||
(0, "XS"), | ||
(1, "S"), | ||
(2, "M"), | ||
(3, "L"), | ||
(4, "XL"), | ||
(5, "XXL"), | ||
(6, "XXXL"), | ||
], | ||
null=True, | ||
verbose_name="T-shirt størrelse", | ||
), | ||
), | ||
] |
35 changes: 35 additions & 0 deletions
35
bartenders/migrations/0005_alter_bartender_email_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,35 @@ | ||
# Generated by Django 5.1.2 on 2024-10-17 21:57 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bartenders", "0004_alter_bartender_tshirt_size_and_more"), | ||
] | ||
|
||
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="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", | ||
), | ||
), | ||
] |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{% extends 'base.html' %} | ||
|
||
{% load static %} | ||
{% load bootstrap3 %} | ||
{% load bootstrap5 %} | ||
|
||
{% block content %} | ||
|
||
|
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
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="L", study="Datalogi", study_year=1 | ||
**d, tshirt_size=2, 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="L", | ||
tshirt_size=2, | ||
study="Datalogi", | ||
study_year=1, | ||
info="Hkll", | ||
|
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
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
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
Oops, something went wrong.