paperwork: Remove mailing_list field from CertificationDefinition

This commit is contained in:
Adam Goldsmith 2023-01-19 16:15:13 -05:00
parent 74bbbb713e
commit fdfb557dd1
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,17 @@
# Generated by Django 4.1.3 on 2023-01-19 21:15
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("paperwork", "0007_department_has_mailing_list"),
]
operations = [
migrations.RemoveField(
model_name="certificationdefinition",
name="mailing_list",
),
]

View File

@ -85,7 +85,6 @@ class CertificationDefinition(models.Model):
db_column="Certification Name", max_length=255, blank=True, null=True
)
department = models.ForeignKey(Department, models.PROTECT)
mailing_list = models.CharField(max_length=128, blank=True)
def __str__(self):
return f"{self.certification_name} <{self.department}>"