django-exalted/venv/lib/python3.8/site-packages/django/__main__.py

10 lines
211 B
Python
Raw Normal View History

"""
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()