mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-16 00:13:12 +00:00
38 lines
1.5 KiB
Python
38 lines
1.5 KiB
Python
|
# -*- 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')),
|
||
|
],
|
||
|
),
|
||
|
]
|