Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed fictional class 'extrapretty' from admin docs. #18075

Merged
merged 1 commit into from
May 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 8 additions & 6 deletions docs/ref/contrib/admin/index.txt
Expand Up @@ -413,18 +413,20 @@ subclass::

* ``classes``
A list or tuple containing extra CSS classes to apply to the fieldset.
This can include any custom CSS class defined in the project, as well
as any of the CSS classes provided by Django. Within the default admin
site CSS stylesheet, two particularly useful classes are defined:
``collapse`` and ``wide``.

Example::

{
"classes": ["wide", "extrapretty"],
"classes": ["wide", "collapse"],
}

Two useful classes defined by the default admin site stylesheet are
``collapse`` and ``wide``. Fieldsets with the ``collapse`` style
will be initially collapsed in the admin and replaced with a small
"click to expand" link. Fieldsets with the ``wide`` style will be
given extra horizontal space.
Fieldsets with the ``collapse`` style will be initially collapsed in
the admin and replaced with a small "click to expand" link. Fieldsets
with the ``wide`` style will be given extra horizontal space.

* ``description``
A string of optional extra text to be displayed at the top of each
Expand Down