django-for-runners_ynh/conf/manage.py
Jens Diemer 42307cec28 Apply manageprojects updates
https://github.com/jedie/cookiecutter_templates/#base-django-yunohost-app migrated from Poetry to
pip-tools and to manifest v2

Apply these changes here.
2023-11-09 20:55:33 +01:00

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()