Ticket #16371: css_prefix_docs.diff

File css_prefix_docs.diff, 815 bytes (added by silent1mezzo, 4 years ago)

Docs for patch.

  • docs/ref/contrib/admin/index.txt

    901901        Performs a full-text match. This is like the default search method but
    902902        uses an index. Currently this is only available for MySQL.
     904.. attribute:: ModelAdmin.css_prefix
     906    Set ``css_prefix`` to specify the css prefix you would like to use to prefix the class of the <div> surrounding each field.
     908    By default, the fields name is used as the class name. If you have css that is conflicting with the field name, setting ``css_prefix`` will fix that.
     910    By default, ``css_prefix`` is set to None.
    904912Custom template options
Back to Top