summaryrefslogtreecommitdiff
path: root/django/__main__.py
blob: 741514384822a29b183a7e4c23d3ffbfa720f8e6 (plain)
1
2
3
4
5
6
7
8
9
10
"""
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()