modlinltd/django-advanced-filters

DateTime Range does not work

Closed this issue · 1 comments

When I use the DateTime Range, the javascript error was caught, which is that gettext found.

image

What should i do to fix the problem?

Hi @jaycelq , somehow I missed your issue (!), sorry for that. Normally the Django admin interface includes the JS i18n catalog in it's base templates:

https://github.com/django/django/blob/7e3bf2662b5dedeb47856adc18a9378e2d10a599/django/contrib/admin/templates/admin/change_list.html#L11

Maybe your Django version doesn't have it, or your custom site templates do not, or maybe the conditions prevent it from being included in the template (i.e no action or formset). Please provide some more information on the above to help debug the issue.