2017-08-24 19:36:59 +00:00
|
|
|
# -*- 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):
|
|
|
|
|
2019-11-04 16:55:03 +00:00
|
|
|
dependencies = [("preferences", "0003_optionaluser_solde_negatif")]
|
2017-08-24 19:36:59 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="AssoOption",
|
2017-08-24 19:36:59 +00:00
|
|
|
fields=[
|
2019-11-04 16:55:03 +00:00
|
|
|
(
|
|
|
|
"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)),
|
2017-08-24 19:36:59 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
migrations.CreateModel(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="Services",
|
2017-08-24 19:36:59 +00:00
|
|
|
fields=[
|
2019-11-04 16:55:03 +00:00
|
|
|
(
|
|
|
|
"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")),
|
2017-08-24 19:36:59 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|