-
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.
* remove few models * migrate and keep adding * update * nit: fix --------- Co-authored-by: Ishaan Mittal <[email protected]>
- Loading branch information
1 parent
aa4daf0
commit e42035d
Showing
11 changed files
with
140 additions
and
581 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
db.sqlite3 | ||
db1.sqlite3 | ||
__pycache__ | ||
migrations | ||
venv | ||
.venv | ||
media | ||
|
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
125 changes: 125 additions & 0 deletions
125
home/migrations/0002_remove_allocationautumn22_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,125 @@ | ||
# Generated by Django 5.0.3 on 2024-08-17 14:53 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("home", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="allocationautumn22", | ||
name="month", | ||
), | ||
migrations.RemoveField( | ||
model_name="allocationautumn22", | ||
name="roll_no", | ||
), | ||
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.RemoveField( | ||
model_name="rebateautumn23", | ||
name="email", | ||
), | ||
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="PeriodAutumn22", | ||
), | ||
migrations.DeleteModel( | ||
name="AllocationAutumn22", | ||
), | ||
migrations.DeleteModel( | ||
name="PeriodAutumn23", | ||
), | ||
migrations.DeleteModel( | ||
name="AllocationAutumn23", | ||
), | ||
migrations.DeleteModel( | ||
name="PeriodSpring23", | ||
), | ||
migrations.DeleteModel( | ||
name="AllocationSpring23", | ||
), | ||
migrations.DeleteModel( | ||
name="CatererBillsAutumn22", | ||
), | ||
migrations.DeleteModel( | ||
name="CatererBillsAutumn23", | ||
), | ||
migrations.DeleteModel( | ||
name="CatererBillsSpring23", | ||
), | ||
migrations.DeleteModel( | ||
name="RebateAutumn23", | ||
), | ||
] |
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.