django-for-runners_ynh/conf/manage.py

16 lines
268 B
Python
Raw Normal View History

2022-09-18 19:00:39 +02:00
#!__FINALPATH__/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()