From c14920d20b3daf65d99cd32067db95447d139cce Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Wed, 12 Feb 2020 10:10:18 -0800 Subject: [PATCH 1/2] Django 2.2+ in test requirements --- tests/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/requirements.txt b/tests/requirements.txt index 658130b..c99559b 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1 +1,2 @@ psycopg2 +Django>=2.2.2 From a66385c31dbb65584e00f25500b105c898ab83ee Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Wed, 12 Feb 2020 10:10:56 -0800 Subject: [PATCH 2/2] Fix six dependency --- README.md | 4 ++++ django_pgviews/view.py | 2 +- setup.py | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c2faf1..098648f 100644 --- a/README.md +++ b/README.md @@ -317,6 +317,10 @@ Provides args: 1.10 0.2.0 + + 2.2 + 0.5.5 + diff --git a/django_pgviews/view.py b/django_pgviews/view.py index 06b982b..fca4220 100644 --- a/django_pgviews/view.py +++ b/django_pgviews/view.py @@ -10,7 +10,7 @@ from django.db import connection, transaction from django.db.models.query import QuerySet from django.db import models -from django.utils import six +import six from django.apps import apps import psycopg2 diff --git a/setup.py b/setup.py index a23e007..9dc70ea 100644 --- a/setup.py +++ b/setup.py @@ -33,5 +33,6 @@ 'Framework :: Django :: 1.9', 'Framework :: Django :: 1.10', 'Framework :: Django :: 1.11', - ] + 'Framework :: Django :: 2.20', + ], install_requires=['six'] )