Move back to Python 🙃

This commit is contained in:
Joakim Hellsén 2024-02-18 22:00:28 +01:00
commit d7be14f5a2
60 changed files with 757 additions and 5605 deletions

20
manage.py Normal file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main() -> None:
"""Run administrative tasks."""
os.environ.setdefault(key="DJANGO_SETTINGS_MODULE", value="feedvault.settings")
try:
from django.core.management import execute_from_command_line # noqa: PLC0415
except ImportError as exc:
msg = "Couldn't import Django. Have you run `poetry install` or `poetry shell`?"
raise ImportError(msg) from exc
execute_from_command_line(sys.argv)
if __name__ == "__main__":
main()