Does anyone know how this could properly be written in Django?
{{ mu.expiry_date|default:"{% trans 'Free User' %}"}}
Obviously, the above does not work since it contains a tag within a tag's filter.
Templates have an underscore syntax for translation also:
{{ mu.expiry_date|default:_("Free User")}}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With