mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #20631 -- Increased the default EmailField max_length to 254.
Thanks pmartin for the report.
This commit is contained in:
@@ -70,7 +70,7 @@ class IntrospectionTests(TestCase):
|
||||
desc = connection.introspection.get_table_description(cursor, Reporter._meta.db_table)
|
||||
self.assertEqual(
|
||||
[r[3] for r in desc if datatype(r[1], r) == 'CharField'],
|
||||
[30, 30, 75]
|
||||
[30, 30, 254]
|
||||
)
|
||||
|
||||
@skipUnlessDBFeature('can_introspect_null')
|
||||
|
||||
Reference in New Issue
Block a user