mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
gis: Merged revisions 6672,6686-6688,6690,6693,6707-6708,6726,6730,6753,6755-6762,6764,6776-6777,6779,6782-6919 via svnmerge from trunk; reverted oracle backend base.py due to ikelly's patch in r6905.
git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@6920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -22,12 +22,12 @@ Don't print out the deprecation warnings during testing.
|
||||
>>> legacy_maxlength(10, 12)
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
TypeError: field can not take both the max_length argument and the legacy maxlength argument.
|
||||
TypeError: Field cannot take both the max_length argument and the legacy maxlength argument.
|
||||
|
||||
>>> legacy_maxlength(0, 10)
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
TypeError: field can not take both the max_length argument and the legacy maxlength argument.
|
||||
TypeError: Field cannot take both the max_length argument and the legacy maxlength argument.
|
||||
|
||||
>>> legacy_maxlength(0, None)
|
||||
0
|
||||
@@ -48,7 +48,7 @@ TypeError: field can not take both the max_length argument and the legacy maxlen
|
||||
>>> fields.Field(maxlength=10, max_length=15)
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
TypeError: field can not take both the max_length argument and the legacy maxlength argument.
|
||||
TypeError: Field cannot take both the max_length argument and the legacy maxlength argument.
|
||||
|
||||
# Test max_length
|
||||
>>> new.max_length
|
||||
|
||||
Reference in New Issue
Block a user