# -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-02-09 09:32
from __future__ import unicode_literals

import costs.models
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('costs', '0010_service_reusable'),
    ]

    operations = [
        migrations.AddField(
            model_name='document',
            name='comment_html',
            field=models.TextField(blank=True, editable=False),
        ),
        migrations.AlterField(
            model_name='cost',
            name='capacity_unit',
            field=models.CharField(blank=True, choices=[('a', 'A'), ('mbps', 'Mbps'), ('u', 'U'), ('ipv4', 'IPv4'), ('eth', 'ports'), ('services', 'abonnement')], max_length=10),
        ),
        migrations.AlterField(
            model_name='document',
            name='comment',
            field=models.TextField(blank=True, help_text='Texte brut ou markdown'),
        ),
        migrations.AlterField(
            model_name='good',
            name='capacity_unit',
            field=models.CharField(blank=True, choices=[('a', 'A'), ('mbps', 'Mbps'), ('u', 'U'), ('ipv4', 'IPv4'), ('eth', 'ports'), ('services', 'abonnement')], max_length=10),
        ),
        migrations.AlterField(
            model_name='service',
            name='capacity_unit',
            field=models.CharField(blank=True, choices=[('a', 'A'), ('mbps', 'Mbps'), ('u', 'U'), ('ipv4', 'IPv4'), ('eth', 'ports'), ('services', 'abonnement')], max_length=10),
        ),
        migrations.AlterField(
            model_name='service',
            name='reusable',
            field=models.BooleanField(default=False, help_text="Peut-être utilisé par d'autres services"),
        ),
        migrations.AlterField(
            model_name='serviceuse',
            name='resource',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='dependent_services', to='costs.Service', validators=[costs.models.validate_reusable_service]),
        ),
    ]
