[Bug] /affiliations and 404 error handler serve raw unrendered Django/Jinja template source code
Los mantenedores suelen responder en 1 día
@tarunagnihotri534 ya está trabajando en esto.
Desde el 8/10/2026.
- #89 de @tarunagnihotri534 — abierto
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 1/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- django, html
- Área
- backend
Línea de trabajo
Inspect the /affiliations route and the production 404 handler, along with the affiliations.html and 404.html templates mentioned in the report. Check how each response is served and rendered; verify /affiliations displays rendered content and invalid routes return a rendered 404. A linked pull request (#89) is already open, so this work appears to be underway.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
When visiting the /affiliations page (linked in the site footer under ABOUT & LEGAL) or triggering a 404 error on any invalid route (such as /sitemap.xml or /some-nonexistent-page), the web server serves the raw, unrendered template source code rather than executing the Django rendering pipeline.
Visitors see literal bracketed template tags ({% extends "base.html" %}, {% block title %}, {{ requested_path }}), unstyled typography, and no navigation header or footer.
Confirmation of Related 404 Behavior
As suspected, this issue affects both the public /affiliations route and the production 404 error handler:
https://alphaonelabs.com/affiliations: ReturnsHTTP 200 OK, but the body is the unrendered templateaffiliations.html.https://alphaonelabs.com/sitemap.xml: ReturnsHTTP 404 Not Found, but the body is the unrendered template404.html(displaying literal{{ requested_path }}).https://alphaonelabs.com/any-invalid-url: ReturnsHTTP 404 Not Foundwith the exact same unrendered template syntax.
Steps to Reproduce
Case A: The /affiliations Route
- Navigate to https://alphaonelabs.com/.
- Scroll to the footer under ABOUT & LEGAL and click Affiliations (or directly open https://alphaonelabs.com/affiliations).
- Observe the top and bottom of the viewport.
Case B: The 404 Error Handler
- Navigate to https://alphaonelabs.com/sitemap.xml or any non-existent path like
https://alphaonelabs.com/nonexistent-test-page. - Inspect the rendered response.
Expected vs Actual Behavior
For /affiliations:
- Expected: A fully rendered HTML document extending
base.html, complete with brand styling, standard navigation header (site-navbar), dark mode styles, and the footer. - Actual: The raw template source is served as plain text/HTML (
HTTP 200 OK), displaying:{% extends "base.html" %} {% block title %}Affiliations - Alpha One Labs{% endblock %} {% block meta_description %}Organizations and initiatives affiliated with Alpha One Labs.{% endblock %} {% block body_class %}min-h-screen flex flex-col bg-white text-gray-900 dark:bg-black dark:text-gray-100 overflow-x-hidden{% endblock %} {% block content %} ... {% endblock %}
- Lenguaje dominante
- HTML
- Estrellas
- 3
- Forks
- 29
- Merge medio
- 2 d 1 h
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de alphaonelabs/learn
-
Password change returns 500 because `username` is used before it is setPosiblemente ocupada @10done la tomó hace 4 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
alphaonelabs/learn#138 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Active Navigation State Is Not Highlighted in the NavbarPosiblemente ocupada @Taha254511 la tomó hace 11 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
alphaonelabs/learn#91 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
add edit an activity buttonPosiblemente ocupada @gopikrishna-20 la tomó hace 6 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
alphaonelabs/learn#134 ·
Los mantenedores suelen responder en 1 día
-
Add a "Resend verification email" option on the login pagePosiblemente ocupada @gopikrishna-20 la tomó hace 9 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
alphaonelabs/learn#131 ·
Los mantenedores suelen responder en 1 día
-
[Security] Use random salts for new password hashes, with backward-compatible migrationQuizá libre de nuevo @Taha254511 la tomó hace 9 días y no hay ningún pull request abierto. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
alphaonelabs/learn#130 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de alphaonelabs/learn
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
bug P1
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Toloka/tolokaforge#1947 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
-
area:io kernel-paused needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bherbruck/solvecraft#7854 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día