From fcb5dbfec0542faaa1b0adad754a1caf1bcd65e2 Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Wed, 29 Mar 2017 23:52:42 +0200 Subject: Fixed #27996 -- Added RandomUUID function and CryptoExtension to contrib.postgres. --- tests/postgres_tests/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/postgres_tests/models.py') diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py index 15fb5ab4ee..001ed00d0c 100644 --- a/tests/postgres_tests/models.py +++ b/tests/postgres_tests/models.py @@ -171,3 +171,7 @@ class StatTestModel(models.Model): class NowTestModel(models.Model): when = models.DateTimeField(null=True, default=None) + + +class UUIDTestModel(models.Model): + uuid = models.UUIDField(default=None, null=True) -- cgit v1.3