mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #24001 -- Added range fields for PostgreSQL.
Added support for PostgreSQL range types to contrib.postgres. - 5 new model fields - 4 new form fields - New validators - Uses psycopg2's range type implementation in python
This commit is contained in:
@@ -237,6 +237,7 @@ class TestMigrations(TestCase):
|
||||
name, path, args, kwargs = field.deconstruct()
|
||||
self.assertEqual(path, 'postgres_tests.models.ArrayFieldSubclass')
|
||||
|
||||
@unittest.skipUnless(connection.vendor == 'postgresql', 'PostgreSQL required')
|
||||
@override_settings(MIGRATION_MODULES={
|
||||
"postgres_tests": "postgres_tests.array_default_migrations",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user