Ticket #5110: model.api.diff

File model.api.diff, 489 bytes (added by Jarek Zgoda <jarek.zgoda@…>, 17 years ago)

The basic diff to current docs

  • docs/model-api.txt

     
    415415
    416416    models.SlugField(prepopulate_from=("pre_name", "name"))
    417417
    418 ``prepopulate_from`` doesn't accept DateTimeFields.
     418``prepopulate_from`` doesn't accept DateTimeFields, ForeignKeys nor
     419ManyToManyFields.
    419420
    420421The admin represents ``SlugField`` as an ``<input type="text">`` (a
    421422single-line input).
Back to Top