Move robots.txt to static file instead of Django

This commit is contained in:
Joakim Hellsén 2026-03-13 01:28:49 +01:00
commit ee8cc87196
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
5 changed files with 6 additions and 84 deletions

View file

@ -34,7 +34,6 @@ def _reload_urls_with(**overrides) -> ModuleType:
def test_top_level_named_routes_available() -> None:
"""Top-level routes defined in `config.urls` are reversible."""
assert reverse("sitemap") == "/sitemap.xml"
assert reverse("robots") == "/robots.txt"
# ensure the included `twitch` namespace is present
assert reverse("twitch:dashboard") == "/"