Commit a830d22d authored by Joan Denise Nocos's avatar Joan Denise Nocos

feat: added field passing_score to Assignment model

parent 66bbcf57
# Generated by Django 3.2.12 on 2022-04-05 04:02
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('assignments', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='assignment',
name='passing_score',
field=models.IntegerField(default=0),
),
]
......@@ -5,6 +5,7 @@ class Assignment(models.Model):
name = models.CharField(max_length=50)
description = models.CharField(max_length=500)
max_points = models.IntegerField(default=0)
passing_score = models.IntegerField(default=0)
def _str_(self):
return self.name
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment