diff options
| author | django-bot <ops@djangoproject.com> | 2025-07-22 20:41:41 -0700 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 20:17:55 -0300 |
| commit | 69a93a88edb56ba47f624dac7a21aacc47ea474f (patch) | |
| tree | f57507a4435d032493cae40e06ecb254790b67b2 /django/core/management/__init__.py | |
| parent | 55b0cc21310b76ce4018dd793ba50556eaf0af06 (diff) | |
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
Diffstat (limited to 'django/core/management/__init__.py')
| -rw-r--r-- | django/core/management/__init__.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py index 0c16447d58..f547ef730c 100644 --- a/django/core/management/__init__.py +++ b/django/core/management/__init__.py @@ -117,7 +117,8 @@ def call_command(command_name, *args, **options): else: command = load_command_class(app_name, command_name) - # Simulate argument parsing to get the option defaults (see #10080 for details). + # Simulate argument parsing to get the option defaults (see #10080 for + # details). parser = command.create_parser("", command_name) # Use the `dest` option name from the parser option opt_mapping = { @@ -256,9 +257,9 @@ class ManagementUtility: except KeyError: if os.environ.get("DJANGO_SETTINGS_MODULE"): # If `subcommand` is missing due to misconfigured settings, the - # following line will retrigger an ImproperlyConfigured exception - # (get_commands() swallows the original one) so the user is - # informed about it. + # following line will retrigger an ImproperlyConfigured + # exception (get_commands() swallows the original one) so the + # user is informed about it. settings.INSTALLED_APPS elif not settings.configured: sys.stderr.write("No Django settings specified.\n") |
