feat: Add preset shift templates, admin SMTP settings, test email dispatch, and email verification opt-out option
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Generated by Django 6.0.7 on 2026-07-31 08:22
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0004_user_is_email_verified_alter_user_is_approved_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='SMTPSetting',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('is_active', models.BooleanField(default=False, help_text='SMTP-Versand aktivieren')),
|
||||
('host', models.CharField(default='smtp.example.com', max_length=255)),
|
||||
('port', models.IntegerField(default=587)),
|
||||
('username', models.CharField(blank=True, default='', max_length=255)),
|
||||
('password', models.CharField(blank=True, default='', max_length=255)),
|
||||
('use_tls', models.BooleanField(default=True)),
|
||||
('use_ssl', models.BooleanField(default=False)),
|
||||
('from_email', models.EmailField(default='noreply@schichtplaner.local', max_length=254)),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user