django-test/env/lib/python3.8/site-packages/django/__main__.py

10 lines
211 B
Python
Raw Permalink Normal View History

2022-08-26 10:41:18 +00:00
"""
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()