About Lazy String Concatenation
When you use lazy translations for the values of attributes of classes, and want to combine a string of multiple translatable strings, you have to use format_lazy()
function, instead of any other string concatenation method:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Tips and Tricks Programming Django 5.x Django 4.2 Django 3.2 Django 2.2
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django GDPR Cookie Consent app
For Django websites that use cookies.