Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Lily
Lily
@lilyf@fosstodon.org  ·  activity timestamp 2 weeks ago

I've just released part three of my Quirks of Django's template language blog series:

https://blog.lilyf.org/posts/django-template-quirks-3/

#django #DjangoTemplates

Lily's Blog

Quirks in Django's template language part 3

Django Rusty Templates Since September 2024, I (and some collaborators) have been building a reimplementation of Django’s templating language in Rust, called Django Rusty Templates. During this process, we have discovered several weird edge-cases and bugs, some of which I’ve talked about before (Part 1, Part 2). The {% now %} tag The {% now %} tag is provided by Django to display the current date or time. It uses a format specifier language designed for compatibility with PHP, which feels like an odd decision in retrospect, since most Python programmers are used to the strftime style formatting provided by the Python datetime module.
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct