0004_assooption_services.py 1.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-08-23 23:28
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('preferences', '0003_optionaluser_solde_negatif'),
    ]

    operations = [
        migrations.CreateModel(
            name='AssoOption',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(default="Association réseau de l'école machin", max_length=32)),
                ('siret', models.CharField(default='00000000000000', max_length=32)),
                ('adresse', models.CharField(default="1 Rue de l'exemple, 94230 Cachan", max_length=128)),
                ('contact', models.EmailField(default='contact@example.org', max_length=254)),
                ('telephone', models.CharField(default='0000000000', max_length=15)),
                ('pseudo', models.CharField(default='Asso', max_length=32)),
            ],
        ),
        migrations.CreateModel(
            name='Services',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=32)),
                ('url', models.URLField()),
                ('description', models.TextField()),
                ('image', models.ImageField(upload_to='logo')),
            ],
        ),
    ]