BDS doesn't need the certificate file
This commit is contained in:
parent
ae64f09869
commit
8661716df9
2 changed files with 14 additions and 5 deletions
14
bds/migrations/0005_remove_bdsprofile_certificate_file.py
Normal file
14
bds/migrations/0005_remove_bdsprofile_certificate_file.py
Normal 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",),
|
||||
]
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue