1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/django/__main__.py

10 lines
211 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()