diff options
| author | Natalia <124304+nessita@users.noreply.github.com> | 2026-04-07 23:30:28 -0300 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-04-08 12:11:53 -0400 |
| commit | 6ac7e962b10730b23bdedcc7d6ccf1c1610f8ca0 (patch) | |
| tree | 946d42a39531cde65e2f7b775f8585ef12308ae4 | |
| parent | 9b57d211b297a666b2eff341321002577db4b09e (diff) | |
[checklists] Avoided duplication of "severity sentence" on blogpost.
Fixes #2583.
| -rw-r--r-- | checklists/migrations/0003_alter_securityissue_blogdescription.py | 24 | ||||
| -rw-r--r-- | checklists/models.py | 5 | ||||
| -rw-r--r-- | checklists/templates/checklists/release_security_blogpost.md | 1 |
3 files changed, 28 insertions, 2 deletions
diff --git a/checklists/migrations/0003_alter_securityissue_blogdescription.py b/checklists/migrations/0003_alter_securityissue_blogdescription.py new file mode 100644 index 00000000..fced42ac --- /dev/null +++ b/checklists/migrations/0003_alter_securityissue_blogdescription.py @@ -0,0 +1,24 @@ +# Generated by Django 6.0.3 on 2026-04-07 21:18 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("checklists", "0002_alter_securityissue_blogdescription_and_more"), + ] + + operations = [ + migrations.AlterField( + model_name="securityissue", + name="blogdescription", + field=models.TextField( + blank=True, + help_text=( + "Markdown format. Single `backticks` for inline code. Copy from release notes, include severity sentence.", + ), + verbose_name="Blog description", + ), + ), + ] diff --git a/checklists/models.py b/checklists/models.py index 176bbc9a..79e007bf 100644 --- a/checklists/models.py +++ b/checklists/models.py @@ -541,7 +541,10 @@ class SecurityIssue(models.Model): blogdescription = models.TextField( blank=True, verbose_name="Blog description", - help_text="Markdown format. Single `backticks` for inline code.", + help_text=( + "Markdown format. Single `backticks` for inline code. " + "Copy from release notes, include severity sentence.", + ), ) reporter = models.CharField(max_length=1024, blank=True) remediator = models.CharField(max_length=1024, blank=True) diff --git a/checklists/templates/checklists/release_security_blogpost.md b/checklists/templates/checklists/release_security_blogpost.md index 20c7e0a4..ab397e94 100644 --- a/checklists/templates/checklists/release_security_blogpost.md +++ b/checklists/templates/checklists/release_security_blogpost.md @@ -11,7 +11,6 @@ users of Django to upgrade as soon as possible. {% if cve.reporter %} Thanks to {{ cve.reporter }} for the report. {% endif %} -This issue has severity "{{ cve.severity }}" according to the Django security policy. {% endfor %} ## Affected supported versions |
