mirror of
https://github.com/django/django.git
synced 2024-12-28 03:55:50 +00:00
0379e7532f
https://github.com/psf/black/releases/tag/24.1.0
Backport of 305757aec1
from main
11 lines
212 B
Python
11 lines
212 B
Python
"""
|
|
Invokes django-admin when the django module is run as a script.
|
|
|
|
Example: python -m django check
|
|
"""
|
|
|
|
from django.core import management
|
|
|
|
if __name__ == "__main__":
|
|
management.execute_from_command_line()
|