flows: pin dependency in migration

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-04-14 22:28:26 +02:00
parent 7561ea15de
commit 4c14e88a25
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ class Migration(migrations.Migration):
dependencies = [ dependencies = [
("authentik_flows", "0017_auto_20210329_1334"), ("authentik_flows", "0017_auto_20210329_1334"),
("authentik_stages_user_write", "0002_auto_20200918_1653"), ("authentik_stages_user_write", "0002_auto_20200918_1653"),
("authentik_stages_user_login", "__latest__"), ("authentik_stages_user_login", "0003_session_duration_delta"),
("authentik_stages_password", "0002_passwordstage_change_flow"), ("authentik_stages_password", "0002_passwordstage_change_flow"),
("authentik_policies", "0001_initial"), ("authentik_policies", "0001_initial"),
("authentik_policies_expression", "0001_initial"), ("authentik_policies_expression", "0001_initial"),

View File

@ -231,7 +231,7 @@ class FlowStageBinding(SerializerModel, PolicyBindingModel):
return FlowStageBindingSerializer return FlowStageBindingSerializer
def __str__(self) -> str: def __str__(self) -> str:
return f"Flow-stage binding #{self.order} to {self.target}" return f"Flow-stage binding #{self.order} to {self.target_id}"
class Meta: class Meta: