Skip to content

Commit 2b9924e

Browse files
committed
Merge branch '355-add-command-to-create-initial-data'
2 parents 7c351d0 + 8374c9a commit 2b9924e

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 3.2.12 on 2023-10-25 13:21
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('core', '0001_initial'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='clientsetting',
15+
name='email_port',
16+
field=models.PositiveSmallIntegerField(blank=True, null=True),
17+
),
18+
]

bakeup/core/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class ClientSetting(models.Model):
9797
email_host = models.CharField(max_length=1024, blank=True, null=True)
9898
email_host_password = models.CharField(max_length=1024, blank=True, null=True)
9999
email_host_user = models.CharField(max_length=1024, blank=True, null=True)
100-
email_port = models.PositiveSmallIntegerField(default=25)
100+
email_port = models.PositiveSmallIntegerField(blank=True, null=True)
101101
email_use_tls = models.BooleanField(default=False)
102102
show_full_name_delivery_bill = models.BooleanField(default=True)
103103
show_remaining_products = models.BooleanField(default=False)

0 commit comments

Comments
 (0)