BDS doesn't need the certificate file

This commit is contained in:
Martin Pépin 2020-07-27 22:14:20 +02:00
parent ae64f09869
commit 8661716df9
No known key found for this signature in database
GPG key ID: E7520278B1774448
2 changed files with 14 additions and 5 deletions

View file

@ -0,0 +1,14 @@
# Generated by Django 2.2.14 on 2020-07-27 20:14
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("bds", "0004_is_member_cotiz_type"),
]
operations = [
migrations.RemoveField(model_name="bdsprofile", name="certificate_file",),
]

View file

@ -67,11 +67,6 @@ class BDSProfile(models.Model):
mails_bds = models.BooleanField(_("recevoir les mails du BDS"), default=False)
has_certificate = models.BooleanField(_("certificat médical"), default=False)
certificate_file = models.FileField(
_("fichier de certificat médical"),
upload_to=get_certificate_filename,
blank=True,
)
ASPSL_number = models.CharField(
_("numéro AS PSL"), max_length=50, blank=True, null=True