Ticket #7816: patch-7816.diff
File patch-7816.diff, 1.7 KB (added by , 16 years ago) |
---|
-
django/db/models/base.py
488 488 import warnings 489 489 warnings.warn( 490 490 message = "Representing uploaded files as dictionaries is"\ 491 " deprecated. Use django.core.files. SimpleUploadedFile"\491 " deprecated. Use django.core.files.uploadedfile.SimpleUploadedFile"\ 492 492 " instead.", 493 493 category = DeprecationWarning, 494 494 stacklevel = 2 … … 500 500 import warnings 501 501 warnings.warn( 502 502 message = "Representing uploaded files as strings is "\ 503 " deprecated. Use django.core.files. SimpleUploadedFile "\503 " deprecated. Use django.core.files.uploadedfile.SimpleUploadedFile "\ 504 504 " instead.", 505 505 category = DeprecationWarning, 506 506 stacklevel = 2 -
django/newforms/fields.py
443 443 import warnings 444 444 warnings.warn( 445 445 message = "Representing uploaded files as dictionaries is"\ 446 " deprecated. Use django.core.files. SimpleUploadedFile "\446 " deprecated. Use django.core.files.uploadedfile.SimpleUploadedFile "\ 447 447 " instead.", 448 448 category = DeprecationWarning, 449 449 stacklevel = 2