Fixed #31066 -- Added a docstring to main() function in manage.py template.

This commit is contained in:
exploit19 2019-12-09 08:54:51 +02:00 committed by Mariusz Felisiak
parent 723fc7fcf6
commit d8ab2c9bba
1 changed files with 1 additions and 0 deletions

View File

@ -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