Upgrade Django version used by middleware
Liberty middleware currently uses Django 1.11 and according to Django project website this version will reach end of life in April 2020.
This issue tracks the work needed to upgrade to Django 2.2 which EOL date is April 2022:
https://www.djangoproject.com/download/#supported-versions
/cc @david.seaward, @noe.nieto