This commit is contained in:
sankalp committed 2025-01-07 16:35:54 +05:45
1 parent 5579eb84fc
commit 1f73c3dc47
22 files changed
+609 -14

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# Generated by Django 5.1.4 on 2025-01-07 09:41
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0009_attendance'),
]
operations = [
migrations.CreateModel(
name='Result',
fields=[
('id', models.AutoField(primary_key=True, serialize=False)),
('practical_marks', models.IntegerField()),
('exam_marks', models.IntegerField()),
('total_marks', models.IntegerField(editable=False)),
('student', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app.student')),
('subject', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app.subject')),
],
),
]