-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add points field to Response model to allow overriding marks
This is currently for use with negative scoring
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
crowdsourcer/migrations/0034_historicalresponse_points_response_points.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,27 @@ | ||
# Generated by Django 4.2.3 on 2023-09-05 09:23 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("crowdsourcer", "0033_alter_question_question_type"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="historicalresponse", | ||
name="points", | ||
field=models.FloatField( | ||
blank=True, help_text="overide marks for this response", null=True | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="response", | ||
name="points", | ||
field=models.FloatField( | ||
blank=True, help_text="overide marks for this response", 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