From 472225e4531dc9aaca14b2a68427f188b35c3edf Mon Sep 17 00:00:00 2001 From: princekumarofficial Date: Tue, 22 Oct 2024 19:38:47 +0530 Subject: [PATCH] update mess-card --- .../migrations/0005_alter_messcard_student.py | 20 ++++++++++ qrscan/templates/mess_card.html | 2 +- static/css/mess-card.css | 38 ++++++++++++------- 3 files changed, 45 insertions(+), 15 deletions(-) create mode 100644 qrscan/migrations/0005_alter_messcard_student.py diff --git a/qrscan/migrations/0005_alter_messcard_student.py b/qrscan/migrations/0005_alter_messcard_student.py new file mode 100644 index 0000000..efa0a5a --- /dev/null +++ b/qrscan/migrations/0005_alter_messcard_student.py @@ -0,0 +1,20 @@ +# Generated by Django 5.0.8 on 2024-10-22 13:30 + +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('home', '0001_initial'), + ('qrscan', '0004_messtiming_delete_messtimings'), + ] + + operations = [ + migrations.AlterField( + model_name='messcard', + name='student', + field=models.ForeignKey(help_text='This contains the student details', on_delete=django.db.models.deletion.CASCADE, to='home.student'), + ), + ] diff --git a/qrscan/templates/mess_card.html b/qrscan/templates/mess_card.html index 09d24c9..b8e2f7f 100644 --- a/qrscan/templates/mess_card.html +++ b/qrscan/templates/mess_card.html @@ -11,7 +11,7 @@
-
+