django-for-runners_ynh/conf/manage.py

16 lines
259 B
Python
Raw Normal View History

2020-12-12 19:37:20 +01:00
#!/usr/bin/env python3
import os
import sys
def main():
2021-01-17 11:47:00 +01:00
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
2020-12-12 19:37:20 +01:00
from django.core.management import execute_from_command_line
2021-01-17 11:47:00 +01:00
2020-12-12 19:37:20 +01:00
execute_from_command_line(sys.argv)
if __name__ == '__main__':
main()