39 lines
1.2 KiB
Python
39 lines
1.2 KiB
Python
# Generated by Django 2.2.19 on 2021-08-25 14:12
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('data', '0048_page_edit_roles'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='SiteSettings',
|
|
fields=[
|
|
(
|
|
'id',
|
|
models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
|
|
),
|
|
(
|
|
'initial_login_page_path',
|
|
models.CharField(
|
|
max_length=100,
|
|
verbose_name='Initial login page path',
|
|
help_text='Page to redirect to the first time user logs in.',
|
|
),
|
|
),
|
|
(
|
|
'welcome_page_path',
|
|
models.CharField(
|
|
max_length=100,
|
|
verbose_name='Welcome page path',
|
|
help_text='Page to redirect to on the first visit, to suggest user to log in.',
|
|
),
|
|
),
|
|
],
|
|
),
|
|
]
|