diff options
Diffstat (limited to 'tests/postgres_tests/models.py')
| -rw-r--r-- | tests/postgres_tests/models.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py index a119b12f04..d6cf3da786 100644 --- a/tests/postgres_tests/models.py +++ b/tests/postgres_tests/models.py @@ -32,3 +32,8 @@ class CharFieldModel(models.Model): class TextFieldModel(models.Model): field = models.TextField() + + +class ArrayFieldSubclass(ArrayField): + def __init__(self, *args, **kwargs): + super(ArrayFieldSubclass, self).__init__(models.IntegerField()) |
