From c3c43b7f679b039554e29fc5dfd3205077e7c23c Mon Sep 17 00:00:00 2001 From: SKairinos Date: Fri, 27 Sep 2024 16:04:29 +0000 Subject: [PATCH] token len of 88 --- ...0055_alter_schoolteacherinvitation_token.py | 18 ++++++++++++++++++ cfl_common/common/models.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 cfl_common/common/migrations/0055_alter_schoolteacherinvitation_token.py diff --git a/cfl_common/common/migrations/0055_alter_schoolteacherinvitation_token.py b/cfl_common/common/migrations/0055_alter_schoolteacherinvitation_token.py new file mode 100644 index 000000000..7071db94e --- /dev/null +++ b/cfl_common/common/migrations/0055_alter_schoolteacherinvitation_token.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.25 on 2024-09-27 16:02 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('common', '0054_delete_aimmo_models'), + ] + + operations = [ + migrations.AlterField( + model_name='schoolteacherinvitation', + name='token', + field=models.CharField(max_length=88), + ), + ] diff --git a/cfl_common/common/models.py b/cfl_common/common/models.py index bed7dc44b..b589dcdf1 100644 --- a/cfl_common/common/models.py +++ b/cfl_common/common/models.py @@ -152,7 +152,7 @@ def get_queryset(self): class SchoolTeacherInvitation(models.Model): - token = models.CharField(max_length=32) + token = models.CharField(max_length=88) school = models.ForeignKey( School, related_name="teacher_invitations",