mentoring/manage.py

19 строки
444 B
Python
Исходник Постоянная ссылка Обычный вид История

2020-10-13 18:49:23 +03:00
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mentoring.settings')
2021-01-19 23:21:47 +03:00
os.environ.setdefault('DJANGO_CONFIGURATION', 'Development')
from configurations.management import execute_from_command_line
2020-10-13 18:49:23 +03:00
execute_from_command_line(sys.argv)
if __name__ == '__main__':
main()