8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-16 08:23:12 +00:00
re2o/preferences/migrations/0046_optionaluser_mail_extension.py
Hugo Levy-Falk c4a104b3b6 I like my black.
Just ran black on the whoe repository. Fix #210.
2019-11-04 22:47:24 +01:00

37 lines
1.1 KiB
Python

# -*- 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")]
operations = [
migrations.AddField(
model_name="optionaluser",
name="local_email_accounts_enabled",
field=models.BooleanField(
default=False, help_text="Enable local email accounts for users"
),
),
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,
),
),
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",
),
),
]