Skip to content

Commit

Permalink
fix: update default score project
Browse files Browse the repository at this point in the history
  • Loading branch information
BramMeir committed Mar 6, 2024
1 parent f3593da commit b59f565
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions backend/api/migrations/0005_alter_project_max_score.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.0.2 on 2024-03-06 14:20

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('api', '0004_submission_structure_checks_passed_extrachecksresult'),
]

operations = [
migrations.AlterField(
model_name='project',
name='max_score',
field=models.PositiveSmallIntegerField(default=20),
),
]
2 changes: 1 addition & 1 deletion backend/api/models/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Project(models.Model):
max_score = models.PositiveSmallIntegerField(
blank=False,
null=False,
default=100
default=20
)

# Size of the groups than can be formed
Expand Down

0 comments on commit b59f565

Please sign in to comment.