Skip to content

Fix template syntax for framework-specific compatibility#6

Merged
navinpai merged 1 commit intomainfrom
fix/django-template-syntax
Oct 16, 2025
Merged

Fix template syntax for framework-specific compatibility#6
navinpai merged 1 commit intomainfrom
fix/django-template-syntax

Conversation

@navinpai
Copy link
Owner

  • Django template (allgreen/healthcheck.html): Use Django-specific |default:"value" and |floatformat:1 syntax
  • Jinja2 template (healthcheck.html): Use Jinja2-specific 'or' syntax and duration_formatted
  • This resolves Django TemplateSyntaxError while maintaining Flask/FastAPI compatibility

🤖 Generated with Claude Code

- Django template (allgreen/healthcheck.html): Use Django-specific |default:"value" and |floatformat:1 syntax
- Jinja2 template (healthcheck.html): Use Jinja2-specific 'or' syntax and duration_formatted
- This resolves Django TemplateSyntaxError while maintaining Flask/FastAPI compatibility

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@navinpai navinpai merged commit 715d988 into main Oct 16, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant