mirror of
https://github.com/YunoHost-Apps/django-for-runners_ynh.git
synced 2024-09-03 18:26:16 +02:00
42307cec28
https://github.com/jedie/cookiecutter_templates/#base-django-yunohost-app migrated from Poetry to pip-tools and to manifest v2 Apply these changes here.
15 lines
267 B
Python
Executable file
15 lines
267 B
Python
Executable file
#!__DATA_DIR__/venv/bin/python
|
|
|
|
import os
|
|
import sys
|
|
|
|
|
|
def main():
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
|
|
from django.core.management import execute_from_command_line
|
|
|
|
execute_from_command_line(sys.argv)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|