-
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.
Merge pull request #177 from PROCOLLAB-github/feature/incorrect_answer
Questions answer tryes
- Loading branch information
Showing
13 changed files
with
202 additions
and
18 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
20 changes: 20 additions & 0 deletions
20
apps/progress/migrations/0020_taskobjuserresult_correct_answer.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,20 @@ | ||
# Generated by Django 5.0.3 on 2024-12-26 09:13 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("progress", "0019_useranswersattemptcounter"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="taskobjuserresult", | ||
name="correct_answer", | ||
field=models.BooleanField( | ||
default=True, help_text="Дан верный/не верный ответ на задание", verbose_name="Правильный ответ" | ||
), | ||
), | ||
] |
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
54 changes: 54 additions & 0 deletions
54
apps/questions/migrations/0014_alter_questionconnect_attempts_after_hint_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,54 @@ | ||
# Generated by Django 5.0.3 on 2024-12-26 09:34 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("questions", "0013_rename_title_infoslide_text"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="questionconnect", | ||
name="attempts_after_hint", | ||
field=models.SmallIntegerField( | ||
blank=True, | ||
null=True, | ||
validators=[django.core.validators.MinValueValidator(1)], | ||
verbose_name="Попытки после подсказки", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="questionconnect", | ||
name="attempts_before_hint", | ||
field=models.SmallIntegerField( | ||
blank=True, | ||
null=True, | ||
validators=[django.core.validators.MinValueValidator(1)], | ||
verbose_name="Попытки до подсказки", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="questionsingleanswer", | ||
name="attempts_after_hint", | ||
field=models.SmallIntegerField( | ||
blank=True, | ||
null=True, | ||
validators=[django.core.validators.MinValueValidator(1)], | ||
verbose_name="Попытки после подсказки", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="questionsingleanswer", | ||
name="attempts_before_hint", | ||
field=models.SmallIntegerField( | ||
blank=True, | ||
null=True, | ||
validators=[django.core.validators.MinValueValidator(1)], | ||
verbose_name="Попытки до подсказки", | ||
), | ||
), | ||
] |
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.