summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/models.py
diff options
context:
space:
mode:
authorMarc Tamlyn <marc.tamlyn@gmail.com>2014-12-22 00:41:13 +0000
committerMarc Tamlyn <marc.tamlyn@gmail.com>2014-12-22 00:41:13 +0000
commit936e87c97ba57c75708a240d9bfe71215d84faa3 (patch)
tree019a8efc81056df7b8ae18bd90bbf284b1ed8d5b /tests/postgres_tests/models.py
parent9a23470072865b7aa659e6af0b275668c85bb44d (diff)
parent7c50e7eeccd4b4581542547f5ddb603bbd62a725 (diff)
Merge pull request #3765 from wlanslovenija/ticket_24034
Fixed #24034 -- Don't always overwrite deconstruct path.
Diffstat (limited to 'tests/postgres_tests/models.py')
-rw-r--r--tests/postgres_tests/models.py5
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())