Ticket #16371: css_prefix_docs.diff

File css_prefix_docs.diff, 815 bytes (added by Adam Mckerlie, 13 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.
    903903
     904.. attribute:: ModelAdmin.css_prefix
     905
     906    Set ``css_prefix`` to specify the css prefix you would like to use to prefix the class of the <div> surrounding each field.
     907
     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.
     909
     910    By default, ``css_prefix`` is set to None.
     911
    904912Custom template options
    905913~~~~~~~~~~~~~~~~~~~~~~~
    906914
Back to Top