Set Candidate.deposite_date non nullable
This commit is contained in:
parent
76f9e49e2d
commit
7574f74386
2 changed files with 17 additions and 1 deletions
16
candidats/migrations/0002_deposit_date_non_null.py
Normal file
16
candidats/migrations/0002_deposit_date_non_null.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('candidats', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='candidate',
|
||||
name='deposite_date',
|
||||
field=models.DateField(verbose_name='Date dépôt dossier'),
|
||||
),
|
||||
]
|
||||
|
|
@ -73,7 +73,7 @@ class Candidate(models.Model):
|
|||
proc_admin_ext = models.BooleanField("Insc. autre école", default=False)
|
||||
work_certificate = models.BooleanField("Certif. de travail", default=False)
|
||||
marks_certificate = models.BooleanField("Bull. notes", default=False)
|
||||
deposite_date = models.DateField('Date dépôt dossier', blank=True, null=True)
|
||||
deposite_date = models.DateField('Date dépôt dossier')
|
||||
interview_date = models.DateTimeField('Date entretien prof.', blank=True, null=True)
|
||||
interview_room = models.CharField("Salle d'entretien prof.", max_length=50, blank=True)
|
||||
examination_result = models.PositiveSmallIntegerField('Points examen', blank=True, null=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue