-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
101 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
db.sqlite3 | ||
db1.sqlite3 | ||
__pycache__ | ||
migrations | ||
venv | ||
.venv | ||
media | ||
|
101 changes: 101 additions & 0 deletions
101
home/migrations/0002_remove_allocationautumn23_month_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,101 @@ | ||
# Generated by Django 5.0.3 on 2024-08-17 14:38 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("home", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="allocationautumn23", | ||
name="month", | ||
), | ||
migrations.RemoveField( | ||
model_name="allocationautumn23", | ||
name="roll_no", | ||
), | ||
migrations.RemoveField( | ||
model_name="allocationspring23", | ||
name="month", | ||
), | ||
migrations.RemoveField( | ||
model_name="allocationspring23", | ||
name="roll_no", | ||
), | ||
migrations.AlterField( | ||
model_name="scan", | ||
name="student_id", | ||
field=models.ForeignKey( | ||
default=0, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to="home.student", | ||
), | ||
), | ||
migrations.RemoveField( | ||
model_name="catererbillsautumn22", | ||
name="caterer", | ||
), | ||
migrations.RemoveField( | ||
model_name="catererbillsautumn23", | ||
name="caterer", | ||
), | ||
migrations.RemoveField( | ||
model_name="catererbillsspring23", | ||
name="caterer", | ||
), | ||
migrations.AddField( | ||
model_name="longrebate", | ||
name="reason", | ||
field=models.TextField( | ||
blank=True, | ||
choices=[ | ||
("", "Choose the reason"), | ||
( | ||
"Incomplete form. Please submit a new rebate application", | ||
"Incomplete form", | ||
), | ||
( | ||
"Signature of approving authority missing. Please submit a new rebate application", | ||
"Signature missing", | ||
), | ||
( | ||
"Attached file is not the rebate form. Please submit a new rebate application with correct attachment", | ||
"Wrong attached document", | ||
), | ||
( | ||
"There is a date mismatch between the one written in the form and the one in the attached form. Please submit a new rebate application", | ||
"There is a date mismatch between the one written in the form and the one in the attached form", | ||
), | ||
], | ||
default="", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="rule", | ||
name="sno", | ||
field=models.AutoField(primary_key=True, serialize=False), | ||
), | ||
migrations.DeleteModel( | ||
name="AllocationAutumn22", | ||
), | ||
migrations.DeleteModel( | ||
name="AllocationAutumn23", | ||
), | ||
migrations.DeleteModel( | ||
name="AllocationSpring23", | ||
), | ||
migrations.DeleteModel( | ||
name="CatererBillsAutumn22", | ||
), | ||
migrations.DeleteModel( | ||
name="CatererBillsAutumn23", | ||
), | ||
migrations.DeleteModel( | ||
name="CatererBillsSpring23", | ||
), | ||
] |