23 lignes
797 B
Python
23 lignes
797 B
Python
# Generated by Django 2.2.24 on 2021-09-02 15:03
|
|
|
|
import benevalibre.instance.validators
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('instance', '0005_defaultrole_verbose_name'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='TermsOfUse',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('file', models.FileField(help_text='Format attendu : pdf', upload_to='terms', validators=[benevalibre.instance.validators.validate_is_pdf], verbose_name='Charte')),
|
|
],
|
|
options={'verbose_name': "charte d'utilisation", 'verbose_name_plural': "chartes d'utilisation"},
|
|
),
|
|
]
|