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

15
conftest.py Normal file
View file

@ -0,0 +1,15 @@
from typing import TYPE_CHECKING
from typing import Any
import pytest
import zeal # pyright: ignore[reportMissingTypeStubs]
if TYPE_CHECKING:
from collections.abc import Generator
@pytest.fixture(autouse=True)
def use_zeal() -> Generator[None, Any]:
"""Enable Zeal N+1 detection context for each pytest test."""
with zeal.zeal_context():
yield