0015_auto_20240119_1346.py 709 B

123456789101112131415161718192021222324
  1. # Generated by Django 3.2.23 on 2024-01-19 13:46
  2. from django.db import migrations, models
  3. import django.utils.timezone
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('core', '0014_fichier'),
  7. ]
  8. operations = [
  9. migrations.AlterModelOptions(
  10. name='fichier',
  11. options={'ordering': ['f_date'], 'verbose_name': 'Stocage de fichiers', 'verbose_name_plural': 'Stocage de fichiers'},
  12. ),
  13. migrations.AddField(
  14. model_name='fichier',
  15. name='f_date',
  16. field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now, verbose_name='Date'),
  17. preserve_default=False,
  18. ),
  19. ]