mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +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:
parent
916e38802f
commit
48ad288679
15 changed files with 986 additions and 6 deletions
|
@ -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",
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue