From 7362a9072a159638747addf441ebd0e711be1ce5 Mon Sep 17 00:00:00 2001 From: Salvo Polizzi Date: Sat, 4 May 2024 18:33:03 +0200 Subject: [PATCH] chore: style SUCCESS and update release note fix: mispelled word --- django/core/management/templates.py | 2 +- docs/releases/5.1.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/django/core/management/templates.py b/django/core/management/templates.py index 363de43648..34ac2dacca 100644 --- a/django/core/management/templates.py +++ b/django/core/management/templates.py @@ -238,7 +238,7 @@ class TemplateCommand(BaseCommand): else: target = os.path.abspath(target) - self.stdout.write(f"Success! Created {name} at {target}.") + self.stdout.write(f"Success! Created {name} at {target}.", self.style.SUCCESS) def handle_template(self, template, subdir): """ diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index a07f8942a5..5c3ffd5605 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -240,6 +240,9 @@ Management Commands operation to highlight :class:`operation categories `. +* If the :djadmin:`startproject` and :djadmin:`startapp` command were successfully, now + they display the directory in which the project or the app was created. + Migrations ~~~~~~~~~~