0003_data.py 1.0 KB

12345678910111213141516171819202122232425262728
  1. # Generated by Django 3.2.7 on 2022-11-21 11:17
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ('core', '0002_auto_20220422_0914'),
  6. ]
  7. operations = [
  8. migrations.CreateModel(
  9. name='Data',
  10. fields=[
  11. ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  12. ('d_titre', models.CharField(max_length=128, unique=True, verbose_name='Titre')),
  13. ('d_titre_slugify', models.CharField(blank=True, editable=False, max_length=128, verbose_name='Titre Slugify')),
  14. ('d_type', models.CharField(max_length=64, unique=True, verbose_name='Titre')),
  15. ('d_variable', models.CharField(max_length=64, unique=True, verbose_name='Titre')),
  16. ],
  17. options={
  18. 'verbose_name': 'Stocage de données',
  19. 'verbose_name_plural': 'Stocage de données',
  20. 'ordering': ['d_titre'],
  21. },
  22. ),
  23. ]