diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-07-07 08:06:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-07 08:06:01 +0200 |
| commit | f64fd47a7627ed6ffe2df2a32ded6ee528a784eb (patch) | |
| tree | 1abf1f8f945e9b72a72d31ec00f356e1088c4538 /docs/releases | |
| parent | d569c1dcfeb26ca9ee391e5dfeadedf2b5ed4253 (diff) | |
Fixed #9602 -- Added AdminSite.get_model_admin().
This allows retrieving an admin class for the given model class without
using internal attributes.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/5.0.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index f309721d44..d39703888a 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -145,6 +145,9 @@ Minor features * ``XRegExp`` is upgraded from version 3.2.0 to 5.1.1. +* The new :meth:`.AdminSite.get_model_admin` method returns an admin class for + the given model class. + :mod:`django.contrib.admindocs` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
