-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1948195
commit 53ca0d8
Showing
2 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
etna/alerts/migrations/0003_alert_name_alter_alert_title.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Generated by Django 5.0.7 on 2024-07-30 14:28 | ||
# etna:allowAlterField | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("alerts", "0002_alert_uid"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="alert", | ||
name="name", | ||
field=models.CharField( | ||
default="replace", | ||
help_text="The name of the alert to display in the CMS, for easier identification.", | ||
max_length=100, | ||
), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="alert", | ||
name="title", | ||
field=models.CharField( | ||
help_text="The short title of your alert which will show in bold at the top of the notification banner. E.g. 'Please note' or 'Important information'", | ||
max_length=50, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters