diff --git a/bds/migrations/0005_remove_bdsprofile_certificate_file.py b/bds/migrations/0005_remove_bdsprofile_certificate_file.py new file mode 100644 index 00000000..514c2d08 --- /dev/null +++ b/bds/migrations/0005_remove_bdsprofile_certificate_file.py @@ -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",), + ] diff --git a/bds/models.py b/bds/models.py index f597cc94..1b9ca6bc 100644 --- a/bds/models.py +++ b/bds/models.py @@ -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