mirror of
https://github.com/django/django.git
synced 2025-10-30 09:06:13 +00:00
[5.0.x] Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
Backport of 305757aec1 from main
This commit is contained in:
@@ -146,8 +146,7 @@ decorator on your :meth:`~BaseCommand.handle` method::
|
||||
...
|
||||
|
||||
@no_translations
|
||||
def handle(self, *args, **options):
|
||||
...
|
||||
def handle(self, *args, **options): ...
|
||||
|
||||
Since translation deactivation requires access to configured settings, the
|
||||
decorator can't be used for commands that work without configured settings.
|
||||
|
||||
Reference in New Issue
Block a user