Add initial Django project

This commit is contained in:
Joakim Hellsén 2026-04-23 06:04:47 +02:00
commit fa6af127c1
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
15 changed files with 1103 additions and 4 deletions

View file

@ -1,13 +1,33 @@
[project]
name = "tussilago"
version = "0.1.0"
description = "A platform to run and host Python applications."
description = "A platform to run and host applications, with a focus on Python applications."
readme = "README.md"
requires-python = ">=3.14"
dependencies = []
dependencies = [
"django>=6.0.4",
"platformdirs>=4.9.6",
"python-dotenv>=1.2.2",
]
license = "AGPL-3.0-or-later"
authors = [{ name = "Joakim Hellsén", email = "tlovinator@gmail.com" }]
[dependency-groups]
dev = [
"djade>=1.9.0",
"django-auto-prefetch>=1.14.0",
"django-browser-reload>=1.21.0",
"django-debug-toolbar>=6.3.0",
"django-watchfiles>=1.4.0",
"django-zeal>=2.1.0",
"djlint>=1.36.4",
"pytest>=9.0.3",
"pytest-cov>=7.1.0",
"pytest-django>=4.12.0",
"pytest-randomly>=4.1.0",
"pytest-xdist[psutil]>=3.8.0",
]
[tool.ruff]
fix = true
preview = true
@ -74,3 +94,8 @@ lint.ignore = [
"S311",
"SLF001",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings"
python_files = ["test_*.py", "*_test.py"]
addopts = "-n 5 -q"