8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 19:33:11 +00:00
re2o/preferences/migrations/0046_optionaluser_mail_extension.py

38 lines
1.1 KiB
Python
Raw Normal View History

2018-07-30 15:00:41 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2018-06-26 19:31
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("preferences", "0045_remove_unused_payment_fields")]
2018-07-30 15:00:41 +00:00
operations = [
migrations.AddField(
model_name="optionaluser",
name="local_email_accounts_enabled",
field=models.BooleanField(
default=False, help_text="Enable local email accounts for users"
),
2018-07-30 15:00:41 +00:00
),
migrations.AddField(
model_name="optionaluser",
name="local_email_domain",
field=models.CharField(
default="@example.org",
help_text="Domain to use for local email accounts",
max_length=32,
),
2018-07-30 15:00:41 +00:00
),
migrations.AddField(
model_name="optionaluser",
name="max_email_address",
field=models.IntegerField(
default=15,
help_text="Maximum number of local email address for a standard user",
),
2018-07-30 15:00:41 +00:00
),
]