-
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 branch 'master' into robin/react-hook-form
- Loading branch information
Showing
31 changed files
with
1,255 additions
and
174 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
78 changes: 78 additions & 0 deletions
78
backend/samfundet/migrations/0004_campus_total_students_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,78 @@ | ||
# Generated by Django 5.1.1 on 2024-09-24 17:14 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("samfundet", "0003_remove_gang_event_admin_group_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="campus", | ||
name="total_students", | ||
field=models.PositiveIntegerField( | ||
default=1, verbose_name="Total students enrolled" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="recruitmentcampusstat", | ||
name="applicant_percentage", | ||
field=models.PositiveIntegerField( | ||
blank=True, | ||
default=0, | ||
null=True, | ||
verbose_name="Percentages of enrolled students applied for campus", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="recruitmentgangstat", | ||
name="average_priority", | ||
field=models.FloatField( | ||
blank=True, null=True, verbose_name="Average priority" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="recruitmentgangstat", | ||
name="total_accepted", | ||
field=models.PositiveIntegerField( | ||
blank=True, null=True, verbose_name="Total accepted" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="recruitmentgangstat", | ||
name="total_rejected", | ||
field=models.PositiveIntegerField( | ||
blank=True, null=True, verbose_name="Total called and rejected" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="recruitmentstatistics", | ||
name="average_applications_per_applicant", | ||
field=models.FloatField( | ||
blank=True, null=True, verbose_name="Gang diversity" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="recruitmentstatistics", | ||
name="average_gangs_applied_to_per_applicant", | ||
field=models.FloatField( | ||
blank=True, null=True, verbose_name="Gang diversity" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="recruitmentstatistics", | ||
name="total_accepted", | ||
field=models.PositiveIntegerField( | ||
blank=True, null=True, verbose_name="Total accepted applicants" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="recruitmentstatistics", | ||
name="total_withdrawn", | ||
field=models.PositiveIntegerField( | ||
blank=True, null=True, verbose_name="Total Withdrawn applications" | ||
), | ||
), | ||
] |
46 changes: 46 additions & 0 deletions
46
...d/samfundet/migrations/0005_role_content_type_role_created_at_role_created_by_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,46 @@ | ||
# Generated by Django 5.1.1 on 2024-09-24 22:26 | ||
|
||
import django.db.models.deletion | ||
from django.conf import settings | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('contenttypes', '0002_remove_content_type_name'), | ||
('samfundet', '0004_campus_total_students_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='role', | ||
name='content_type', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='contenttypes.contenttype'), | ||
), | ||
migrations.AddField( | ||
model_name='role', | ||
name='created_at', | ||
field=models.DateTimeField(blank=True, editable=False, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='role', | ||
name='created_by', | ||
field=models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL), | ||
), | ||
migrations.AddField( | ||
model_name='role', | ||
name='updated_at', | ||
field=models.DateTimeField(blank=True, editable=False, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='role', | ||
name='updated_by', | ||
field=models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL), | ||
), | ||
migrations.AddField( | ||
model_name='role', | ||
name='version', | ||
field=models.PositiveIntegerField(blank=True, default=0, editable=False, null=True), | ||
), | ||
] |
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.