Generateurv2/backend/api/exercices/migrations/0016_exercice_last_update.py
2022-06-24 13:42:16 +02:00

21 lines
494 B
Python

# Generated by Django 4.0 on 2022-06-24 08:44
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('exercices', '0015_exercice_original'),
]
operations = [
migrations.AddField(
model_name='exercice',
name='last_update',
field=models.DateField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
]