{% extends "label/label_base.html" %} {% load l10n i18n barcode %} {% block style %} .qr { position: absolute; left: 0mm; top: 0mm; {% localize off %} height: {{ height }}mm; width: {{ height }}mm; {% endlocalize %} } {% endblock style %} {% block content %} {% trans 'QR Code' %} {% endblock content %}