mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #20631 -- Increased the default EmailField max_length to 254.
Thanks pmartin for the report.
This commit is contained in:
parent
1966054feb
commit
7fd55c3481
10 changed files with 46 additions and 17 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue