paperwork: Remove mailing_list
field from CertificationDefinition
This commit is contained in:
parent
74bbbb713e
commit
fdfb557dd1
@ -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",
|
||||
),
|
||||
]
|
@ -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}>"
|
||||
|
Loading…
Reference in New Issue
Block a user