django-for-runners_ynh/conf/manage.py

16 lines
267 B
Python
Raw Permalink Normal View History

#!__DATA_DIR__/venv/bin/python
2020-12-12 19:37:20 +01:00
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()