mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +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:
parent
86dd89e623
commit
0379e7532f
234 changed files with 804 additions and 599 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue