Ticket #8838: 8838.diff

File 8838.diff, 869 bytes (added by arien, 16 years ago)

patch for #8838 and #8839

  • docs/ref/models/fields.txt

     
    585585``ImageField``
    586586--------------
    587587
    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])
    589589
    590590Like :class:`FileField`, but validates that the uploaded object is a valid
    591591image. Has two extra optional arguments:
     
    650650``PositiveSmallIntegerField``
    651651-----------------------------
    652652
    653 .. class:: PositiveIntegerField([**options])
     653.. class:: PositiveSmallIntegerField([**options])
    654654
    655655Like a :class:`PositiveIntegerField`, but only allows values under a certain
    656656(database-dependent) point.
Back to Top