Ticket #2417: model-api.patch

File model-api.patch, 749 bytes (added by Marc Fargas <telenieko@…>, 11 years ago)

Documentation for BinaryField

  • docs/model-api.txt

    126126automatically be added to your model if you don't specify otherwise. See
    127127`Automatic primary key fields`_.
     132Raw binary data,
     134The admin represents this as an ``<input type="text">`` (a single-line input).
     136``BinaryField`` has an extra required argument, ``maxlength``, the maximum length
     137(in characters) of the field. The maxlength is enforced at the database level
     138and in Django's validation.
     140Note: Right now, database level enforcement only takes place in MySQL.
Back to Top