Prevent petits cours demandes deletion
This commit is contained in:
parent
9f401b66e9
commit
213c11721e
1 changed files with 4 additions and 4 deletions
|
@ -310,7 +310,7 @@ class Migration(migrations.Migration):
|
|||
model_name='petitcoursdemande',
|
||||
name='traitee_par',
|
||||
field=models.ForeignKey(
|
||||
on_delete=models.CASCADE,
|
||||
on_delete=models.PROTECT,
|
||||
blank=True,
|
||||
to=settings.AUTH_USER_MODEL,
|
||||
null=True),
|
||||
|
@ -319,7 +319,7 @@ class Migration(migrations.Migration):
|
|||
model_name='petitcoursattributioncounter',
|
||||
name='matiere',
|
||||
field=models.ForeignKey(
|
||||
on_delete=models.CASCADE,
|
||||
on_delete=models.PROTECT,
|
||||
verbose_name='Matiere',
|
||||
to='cof.PetitCoursSubject'),
|
||||
),
|
||||
|
@ -327,7 +327,7 @@ class Migration(migrations.Migration):
|
|||
model_name='petitcoursattributioncounter',
|
||||
name='user',
|
||||
field=models.ForeignKey(
|
||||
on_delete=models.CASCADE,
|
||||
on_delete=models.PROTECT,
|
||||
to=settings.AUTH_USER_MODEL),
|
||||
),
|
||||
migrations.AddField(
|
||||
|
@ -342,7 +342,7 @@ class Migration(migrations.Migration):
|
|||
model_name='petitcoursattribution',
|
||||
name='matiere',
|
||||
field=models.ForeignKey(
|
||||
on_delete=models.CASCADE,
|
||||
on_delete=models.PROTECT,
|
||||
verbose_name='Mati\xe8re',
|
||||
to='cof.PetitCoursSubject'),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue