mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #33476 -- Made management commands use black.
Run black on generated files, if it is available on PATH.
This commit is contained in:
committed by
Mariusz Felisiak
parent
f9ec777a82
commit
d113b5a837
@@ -226,6 +226,10 @@ Management Commands
|
||||
* The new :option:`migrate --prune` option allows deleting nonexistent
|
||||
migrations from the ``django_migrations`` table.
|
||||
|
||||
* Python files created by :djadmin:`startproject`, :djadmin:`startapp`,
|
||||
:djadmin:`makemigrations`, and :djadmin:`squashmigrations` are now formatted
|
||||
using the ``black`` command if it is present on your ``PATH``.
|
||||
|
||||
Migrations
|
||||
~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user