2018-07-01 13:51:18 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.10.7 on 2018-06-30 15:27
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import re2o.mixins
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2018-08-01 17:07:01 +00:00
|
|
|
('preferences', '0046_optionaluser_mail_extension'),
|
2018-07-01 13:51:18 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='MailContact',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
2018-07-26 19:53:32 +00:00
|
|
|
('address', models.EmailField(default='contact@example.org', help_text="Contact email adress", max_length=254)),
|
|
|
|
('commentary', models.CharField(blank=True, help_text="Description of the associated email adress.", max_length=256, null=True)),
|
2018-07-01 13:51:18 +00:00
|
|
|
],
|
|
|
|
options={
|
2018-07-26 19:53:32 +00:00
|
|
|
'permissions': (('view_mailcontact', "Can see contact email"),),
|
2018-07-01 13:51:18 +00:00
|
|
|
},
|
|
|
|
bases=(re2o.mixins.AclMixin, models.Model),
|
|
|
|
),
|
|
|
|
]
|