paperwork: Add notes field for waivers
This commit is contained in:
parent
a4f0be51e1
commit
7dfd7e36d1
17
paperwork/migrations/0015_waiver_notes.py
Normal file
17
paperwork/migrations/0015_waiver_notes.py
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 4.2 on 2023-04-11 01:35
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
("paperwork", "0014_alter_certificationdefinition_options_and_more"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name="waiver",
|
||||||
|
name="notes",
|
||||||
|
field=models.CharField(blank=True, max_length=255, null=True),
|
||||||
|
),
|
||||||
|
]
|
@ -302,6 +302,7 @@ class Waiver(models.Model):
|
|||||||
db_column="Guardian Relation", max_length=255, blank=True, null=True
|
db_column="Guardian Relation", max_length=255, blank=True, null=True
|
||||||
)
|
)
|
||||||
guardian_date = models.DateField(db_column="Guardian Date", blank=True, null=True)
|
guardian_date = models.DateField(db_column="Guardian Date", blank=True, null=True)
|
||||||
|
notes = models.CharField(max_length=255, blank=True, null=True)
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
return f"{self.name} {self.date}"
|
return f"{self.name} {self.date}"
|
||||||
|
Loading…
Reference in New Issue
Block a user