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