1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pyinventory_ynh.git synced 2024-09-03 20:16:09 +02:00
pyinventory_ynh/conf/manage.py

16 lines
259 B
Python
Raw Normal View History

2020-12-07 16:20:37 +01:00
#!/usr/bin/env python3
import os
import sys
def main():
2020-12-29 12:52:08 +01:00
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
2020-12-07 16:20:37 +01:00
from django.core.management import execute_from_command_line
2020-12-29 13:58:40 +01:00
2020-12-07 16:20:37 +01:00
execute_from_command_line(sys.argv)
if __name__ == '__main__':
main()