gnousdoteu-v3/apps/gnous_eu/migrations/0003_partner.py

26 lines
793 B
Python
Raw Permalink Normal View History

2020-06-19 01:35:31 +02:00
# Generated by Django 3.0.2 on 2020-06-18 23:05
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('gnous_eu', '0002_service_description_en'),
]
operations = [
migrations.CreateModel(
name='Partner',
fields=[
('id', models.AutoField(primary_key=True, serialize=False)),
('name', models.CharField(max_length=150)),
('description', models.TextField()),
('description_en', models.TextField(null=True)),
('photo', models.ImageField(upload_to='partner')),
('domain', models.CharField(max_length=150)),
('hidden', models.BooleanField(default=False)),
],
),
]