Skip to content

Commit

Permalink
DOSSIER_ELEVE: Use TextField instead of CharField for comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Supermanu committed Mar 5, 2023
1 parent 9efbe86 commit 3ac72fe
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.0.5 on 2023-03-05 17:39

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('dossier_eleve', '0025_dossierelevesettingsmodel_export_retenues_own_default'),
]

operations = [
migrations.AlterField(
model_name='caseleve',
name='explication_commentaire',
field=models.TextField(),
),
]
2 changes: 1 addition & 1 deletion dossier_eleve/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class CasEleve(models.Model):
demandeur = models.CharField(max_length=100)
sanction_decision = models.ForeignKey(SanctionDecisionDisciplinaire, null=True, blank=True, on_delete=models.SET_NULL)
notified = models.BooleanField(default=False)
explication_commentaire = models.CharField(max_length=5000)
explication_commentaire = models.TextField()
attachments = models.ManyToManyField(CasAttachment, blank=True)
datetime_sanction = models.DateTimeField("date de la sanction", null=True, blank=True) # Deprecated
date_sanction = models.DateField("Date de la sanction", null=True, blank=True,)
Expand Down

0 comments on commit 3ac72fe

Please sign in to comment.