summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2024-04-15 11:52:44 +0100
committernessita <124304+nessita@users.noreply.github.com>2024-05-16 21:25:23 -0300
commit50852b2c2c805c98e2af8eea5433d1a3e5348b67 (patch)
tree0a977b11fae4e7e28c96a392866b12b14b063a19
parent069d7134305353b544bc6a58ed2c8849e491ba19 (diff)
Replaced fictional class 'extrapretty' in admin fieldsets docs.
-rw-r--r--docs/ref/contrib/admin/index.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index f75b950262..2a5652c24b 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -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