Ticket #8838: 8838.diff
File 8838.diff, 869 bytes (added by , 16 years ago) |
---|
-
docs/ref/models/fields.txt
585 585 ``ImageField`` 586 586 -------------- 587 587 588 .. class:: ImageField(upload_to -None, [height_field=None, width_field=None, max_length=100, **options])588 .. class:: ImageField(upload_to=None, [height_field=None, width_field=None, max_length=100, **options]) 589 589 590 590 Like :class:`FileField`, but validates that the uploaded object is a valid 591 591 image. Has two extra optional arguments: … … 650 650 ``PositiveSmallIntegerField`` 651 651 ----------------------------- 652 652 653 .. class:: Positive IntegerField([**options])653 .. class:: PositiveSmallIntegerField([**options]) 654 654 655 655 Like a :class:`PositiveIntegerField`, but only allows values under a certain 656 656 (database-dependent) point.