Skip to content

Commit 298e484

Browse files
committed
Update migration to add help_text.
1 parent 243e7a4 commit 298e484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_provider/migrations/0006_alter_application_client_secret.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Migration(migrations.Migration):
2525
migrations.AlterField(
2626
model_name='application',
2727
name='client_secret',
28-
field=oauth2_provider.models.ClientSecretField(blank=True, db_index=True, default=oauth2_provider.generators.generate_client_secret, max_length=255),
28+
field=oauth2_provider.models.ClientSecretField(blank=True, db_index=True, default=oauth2_provider.generators.generate_client_secret, help_text='Hashed on Save. Copy it now if this is a new secret.', max_length=255),
2929
),
3030
migrations.RunPython(forwards_func),
3131
]

0 commit comments

Comments
 (0)