paperwork: Add notes field for waivers

This commit is contained in:
Adam Goldsmith 2023-04-10 21:37:07 -04:00
parent a4f0be51e1
commit 7dfd7e36d1
2 changed files with 18 additions and 0 deletions

View 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),
),
]

View File

@ -302,6 +302,7 @@ class Waiver(models.Model):
db_column="Guardian Relation", max_length=255, 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:
return f"{self.name} {self.date}"