Update use of django-filter to work with version 2

Issue #437 resolved
Ed McDonagh created an issue

Refs #436, #17

Version pegged betwen 0.10 and 0.14 for now. Move to current version alongside Python 3, Django 2.2 etc

Comments (28)

  1. Ed McDonagh reporter

    Filter views now display, f.queryset instead of f in paginator, but filter doesn't display. MethodFilter replaced with CharFilter(method=. Refs #404, #437 [skip ci] not ready for tests

    → <<cset debb9f7bb725>>

  2. Ed McDonagh reporter

    Starting to reinstate and update DXSummaryListFilter. Age gt not currently working. Might continue upgrade to later Django and version 2 of django_filter before attempting to fix. Refs #404, #437 [skip ci] not ready for tests

    → <<cset 8bc5408c2776>>

  3. Ed McDonagh reporter

    DX summary filtered page now working with all filters except age with django_filters 1.1, Python 3.6, Django 1.8. Need to repeat for other modalities, then move onto Django 1.9 I think. Refs #437, #404 [skip ci] not ready for testing

    → <<cset 05dc823484a9>>

  4. Ed McDonagh reporter

    Not sure why some mam image values are bytes that need decoding before casting to Decimal, others are float or int. Hence try:except:. Also corrected mod_filters test and reverse_lazy. refs #404, #437 [skip ci] - not ready for testing

    → <<cset cdf71f122dc2>>

  5. Log in to comment