0014_fichier.py 684 B

123456789101112131415161718192021
  1. # Generated by Django 3.2.23 on 2024-01-19 13:40
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ('core', '0013_alter_page_p_menu_parent'),
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='Fichier',
  10. fields=[
  11. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('f_nom', models.CharField(blank=True, editable=False, max_length=128, verbose_name='Nom du fichier')),
  13. ('f_fichier', models.FileField(upload_to='static/uploads/', verbose_name='Fichier')),
  14. ],
  15. ),
  16. ]