{% load static i18n %} {% get_current_language as LANGUAGE_CODE %} {% include "daterangefilter/_load_momentjs.html" %} {% with field_name=choices.0.field_name %}

{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}

{# daterangepicker attaches itself to window.jQuery: give it Django's jQuery while it loads, and keep the one the page has #} {% endwith %}