mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Fixed #31066 -- Added a docstring to main() function in manage.py template.
This commit is contained in:
parent
723fc7fcf6
commit
d8ab2c9bba
@ -5,6 +5,7 @@ import sys
|
||||
|
||||
|
||||
def main():
|
||||
"""Run administrative tasks."""
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{{ project_name }}.settings')
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
|
Loading…
Reference in New Issue
Block a user