django_example_ynh/conf/manage.py

15 lines
274 B
Python
Raw Normal View History

2020-12-23 19:53:13 +01:00
#!/usr/bin/env python3
import os
import sys
def main():
2020-12-28 12:35:36 +01:00
os.environ['DJANGO_SETTINGS_MODULE'] = 'django_ynh_demo_settings'
2020-12-23 19:53:13 +01:00
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
if __name__ == '__main__':
main()