authentik.flows.migrations.0031_alter_flow_layout

 1# Generated by Django 5.2.10 on 2026-01-16 17:50
 2
 3from django.db import migrations, models
 4
 5
 6class Migration(migrations.Migration):
 7
 8    dependencies = [
 9        ("authentik_flows", "0030_alter_flow_background"),
10    ]
11
12    operations = [
13        migrations.AlterField(
14            model_name="flow",
15            name="layout",
16            field=models.TextField(
17                choices=[
18                    ("stacked", "Stacked"),
19                    ("content_left", "Content Left"),
20                    ("content_right", "Content Right"),
21                    ("sidebar_left", "Sidebar Left"),
22                    ("sidebar_right", "Sidebar Right"),
23                    ("sidebar_left_frame_background", "Sidebar Left Frame Background"),
24                    ("sidebar_right_frame_background", "Sidebar Right Frame Background"),
25                ],
26                default="stacked",
27            ),
28        ),
29    ]
class Migration(django.db.migrations.migration.Migration):
 7class Migration(migrations.Migration):
 8
 9    dependencies = [
10        ("authentik_flows", "0030_alter_flow_background"),
11    ]
12
13    operations = [
14        migrations.AlterField(
15            model_name="flow",
16            name="layout",
17            field=models.TextField(
18                choices=[
19                    ("stacked", "Stacked"),
20                    ("content_left", "Content Left"),
21                    ("content_right", "Content Right"),
22                    ("sidebar_left", "Sidebar Left"),
23                    ("sidebar_right", "Sidebar Right"),
24                    ("sidebar_left_frame_background", "Sidebar Left Frame Background"),
25                    ("sidebar_right_frame_background", "Sidebar Right Frame Background"),
26                ],
27                default="stacked",
28            ),
29        ),
30    ]

The base class for all migrations.

Migration files will import this from django.db.migrations.Migration and subclass it as a class called Migration. It will have one or more of the following attributes:

  • operations: A list of Operation instances, probably from django.db.migrations.operations
  • dependencies: A list of tuples of (app_path, migration_name)
  • run_before: A list of tuples of (app_path, migration_name)
  • replaces: A list of migration_names

Note that all migrations come out of migrations and into the Loader or Graph as instances, having been initialized with their app label and name.

dependencies = [('authentik_flows', '0030_alter_flow_background')]
operations = [<AlterField model_name='flow', name='layout', field=<django.db.models.fields.TextField>>]