Commit c57544fa4da268965b628de3faed6045c474f955
1 parent
46c9918c
Exists in
master
and in
5 other branches
#211
Showing
2 changed files
with
33 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,33 @@ | @@ -0,0 +1,33 @@ | ||
1 | +# -*- coding: utf-8 -*- | ||
2 | +# Generated by Django 1.10 on 2016-11-03 22:03 | ||
3 | +from __future__ import unicode_literals | ||
4 | + | ||
5 | +from django.db import migrations, models | ||
6 | + | ||
7 | + | ||
8 | +class Migration(migrations.Migration): | ||
9 | + | ||
10 | + initial = True | ||
11 | + | ||
12 | + dependencies = [ | ||
13 | + ] | ||
14 | + | ||
15 | + operations = [ | ||
16 | + migrations.CreateModel( | ||
17 | + name='EmailBackend', | ||
18 | + fields=[ | ||
19 | + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
20 | + ('description', models.CharField(max_length=100, verbose_name='Description')), | ||
21 | + ('host', models.URLField(verbose_name='E-mail Host')), | ||
22 | + ('port', models.CharField(blank=True, max_length=4, verbose_name='Email Port')), | ||
23 | + ('username', models.CharField(max_length=30, verbose_name='Email host username')), | ||
24 | + ('password', models.CharField(blank=True, max_length=30, verbose_name='Email host password')), | ||
25 | + ('safe_conection', models.IntegerField(choices=[(0, 'No'), (1, 'TLS, if available'), (2, 'TLS'), (3, 'SSL')], default=0, verbose_name='Use safe conection')), | ||
26 | + ('default_from_email', models.EmailField(blank=True, max_length=254, verbose_name='Default from email')), | ||
27 | + ], | ||
28 | + options={ | ||
29 | + 'verbose_name_plural': 'Amadeus SMTP settings', | ||
30 | + 'verbose_name': 'Amadeus SMTP setting', | ||
31 | + }, | ||
32 | + ), | ||
33 | + ] |