45 lines
1.4 KiB
Python
45 lines
1.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.18 on 2021-02-02 12:04
|
|
from __future__ import unicode_literals
|
|
|
|
import django.contrib.postgres.fields
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('mobyt', '0008_auto_20200310_1539'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='mobytsmsgateway',
|
|
name='allow_premium_rate',
|
|
field=models.BooleanField(
|
|
default=False,
|
|
help_text='This option is only applyed to France mainland',
|
|
verbose_name='Allow premium rate numbers',
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='mobytsmsgateway',
|
|
name='authorized',
|
|
field=django.contrib.postgres.fields.ArrayField(
|
|
base_field=models.CharField(
|
|
choices=[
|
|
('fr-metro', 'France mainland (+33 [67])'),
|
|
('fr-domtom', 'France DOM/TOM (+262, etc.)'),
|
|
('be', 'Belgian (+32 4[5-9]) '),
|
|
('all', 'All'),
|
|
],
|
|
max_length=32,
|
|
null=True,
|
|
),
|
|
default=['all'],
|
|
size=None,
|
|
verbose_name='Authorized Countries',
|
|
),
|
|
),
|
|
]
|