kbehlers
24de8113a8
[5.0.x] Fixed typo in docs/ref/contrib/admin/index.txt.
...
Backport of 3cb1ba50cc
from main
2024-02-29 08:31:46 +01:00
Mariusz Felisiak
0379e7532f
[5.0.x] Applied Black's 2024 stable style.
...
https://github.com/psf/black/releases/tag/24.1.0
Backport of 305757aec1
from main
2024-01-26 12:55:56 +01:00
William Hayes
effd704a1c
[5.0.x] Refs #33690 -- Added missing data-theme selector to example in theming support docs.
...
Backport of 640283711e
from main
2023-11-15 05:27:51 +01:00
Mariusz Felisiak
190874eadd
Fixed #34560 -- Updated admin's jQuery to 3.7.1.
2023-09-18 08:54:44 +02:00
Ryanwalker277
225328efd9
Fixed #31558 -- Added support for boolean attribute on properties in ModelAdmin.list_display.
2023-09-16 20:54:26 +02:00
priyank.panchal
0016a42995
Fixed #34677 -- Made admin password reset templates more consistent.
2023-07-14 12:05:30 +02:00
Mariusz Felisiak
2584783f46
Refs #9602 -- Moved AlreadyRegistered/NotRegistered exceptions to django.contrib.admin.exceptions.
2023-07-07 13:22:06 +02:00
Mariusz Felisiak
f64fd47a76
Fixed #9602 -- Added AdminSite.get_model_admin().
...
This allows retrieving an admin class for the given model class without
using internal attributes.
2023-07-07 08:06:01 +02:00
Nick Pope
f8092ee9ad
Improved style of n-tuple wording in docs and comments.
2023-06-23 09:29:35 +02:00
Howard Cox
cd413bd78a
Fixed #34621 -- Made admin site header render in <div> tag.
...
This was problematic for screen reader users because they use headings
to navigate. Having two <h1> is confusing, and the one in the header
wasn’t particularly helpful since it’s the same on all pages.
2023-06-05 11:55:06 +02:00
Mariusz Felisiak
c487634c10
Added meaningful titles to ..admonition:: directives.
2023-04-21 12:03:59 +02:00
sarahboyce
594fcc2b74
Fixed #22569 -- Made ModelAdmin.lookup_allowed() respect get_list_filter().
...
Thank you Simon Meers for the initial patch.
2023-04-17 14:09:38 +02:00
Edison Wang
255f534590
Fixed #34419 -- Doc'd django.contrib.admin.sites.all_sites.
2023-04-15 08:28:55 +02:00
Mariusz Felisiak
18473004af
Fixed #34395 -- Updated admin's jQuery to 3.6.4.
2023-03-09 08:55:08 +01:00
sarahboyce
868e2fcdda
Fixed #32539 -- Added toggleable facet filters to ModelAdmin.
...
Thanks Carlton Gibson, Simon Willison, David Smith, and Mariusz
Felisiak for reviews.
2023-03-03 20:24:57 +01:00
django-bot
14459f80ee
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
2023-03-01 13:03:56 +01:00
Joseph Victor Zammit
ba755ca131
Refs #34140 -- Corrected rst code-block and various formatting issues in docs.
2023-02-28 12:21:37 +01:00
Carlton Gibson
534ac48297
Refs #34140 -- Applied rst code-block to non-Python examples.
...
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for
reviews.
2023-02-10 19:19:13 +01:00
Jacob Rief
473283d241
Fixed #34303 –- Allowed customizing admin site log entry list.
...
Added AdminSite.get_log_entries() as an override point and made this
available to the template via each_context().
2023-02-08 18:37:32 +01:00
Carlton Gibson
1964e4367f
Added missing vars to AdminSite.each_context() docs.
2023-02-08 17:59:56 +01:00
Mariusz Felisiak
490cccbe7e
Removed versionadded/changed annotations for 4.1.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
5cf9ff970e
Fixed #33961 -- Updated admin's jQuery to 3.6.3.
2023-01-04 11:28:09 +01:00
Sylvain Fankhauser
0036bcdcb6
Fixed #34172 -- Improved ModelAdmin.get_urls example.
2022-12-07 11:23:13 +01:00
Trey Hunner
fad070b07b
Improved readability of string interpolation in frequently used examples in docs.
2022-11-10 13:18:38 +01:00
Alex Morega
de6c9c7054
Refs #30947 -- Changed tuples to lists where appropriate.
2022-08-30 09:57:17 +02:00
Tom Carrick
d46cc15c51
Fixed #33878 -- Switched to system fonts in CSS.
2022-08-17 10:19:00 +02:00
Ramil Yanbulatov
c6290bae9d
Fixed #33842 -- Used :source: role for links to repo files on GitHub.
2022-08-09 14:44:51 +02:00
Mariusz Felisiak
ac90529cc5
Fixed docs build with sphinxcontrib-spelling 7.5.0+.
...
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set
of nodes for which the text is checked.
2022-05-31 11:17:01 +02:00
Hasan Ramezani
ce69e34bd6
Unified AdminSite imports in docs.
2022-05-25 13:13:28 +02:00
Carlton Gibson
ca1c3151c3
Removed versionadded/changed annotations for 4.0.
2022-05-17 14:22:06 +02:00
David
2ed6f20e7a
Added links to Solr and Haystack in docs.
2022-04-28 10:44:14 +02:00
adontz
2bee0b4328
Fixed #7497 -- Allowed overriding the order of apps and models in admin.
2022-03-25 10:33:44 +01:00
Scott Pashley
367d6920ec
Fixed typo in docs/ref/contrib/admin/index.txt.
2022-01-12 07:44:45 +01:00
Victor Peralta
f1905db6c0
Fixed typo in docs/ref/contrib/admin/index.txt.
2022-01-11 06:19:43 +01:00
mangelozzi
eb901681ab
Improved @display(empty_value) example in ModelAdmin.empty_value_display docs.
2021-12-30 11:39:04 +01:00
mgaligniana
ac5cc6cf01
Fixed #33316 -- Added pagination to admin history view.
2021-12-15 10:54:08 +01:00
Jacob Walls
76ccce64cc
Fixed #16063 -- Adjusted admin changelist searches spanning multi-valued relationships.
...
This reduces the likelihood of admin searches issuing queries with
excessive joins.
2021-12-15 08:14:19 +01:00
Shreya Bamne
e53aea2e23
Refs #19721 -- Moved ModelAdmin.list_filter docs into a separate file.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-11-18 14:01:04 +01:00
Carlton Gibson
a754b82dac
Refs #33182 -- Adjusted custom admin theming example to use correct template block.
2021-10-27 10:35:02 +02:00
Matteo Vitali
3f1f8b9376
Fixed #33182 -- Moved admin dark mode vars to separate stylesheet and template block.
2021-10-27 10:34:01 +02:00
Mariusz Felisiak
97237ad3fe
Removed versionadded/changed annotations for 3.2.
2021-09-20 21:23:01 +02:00
Mariusz Felisiak
ef4ef3b8f5
Fixed #32504 -- Updated admin's jQuery to 3.6.0.
2021-09-20 06:54:35 +02:00
Siburg
46c8df640c
Fixed #32219 -- Made InlineModelAdmin.verbose_name_plural fallback to its verbose_name.
2021-09-08 13:20:13 +02:00
Pēteris Caune
c258918a03
Fixed typo in docs/ref/contrib/admin/index.txt.
2021-07-28 12:20:17 +02:00
Abhyudai
019424e44e
Fixed #32950 -- Removed myproject from imports in admin docs where appropriate.
2021-07-23 06:19:02 +02:00
Jacob Walls
f0d0d29f03
Fixed typos in docs.
2021-06-03 07:49:50 +02:00
Hasan Ramezani
1143f3bb5e
Fixed #32543 -- Added search_help_text to ModelAdmin.
2021-05-26 10:20:13 +02:00
David Sanders
dacc307d93
Fixed typo in docs/ref/contrib/admin/index.txt.
2021-05-19 07:28:56 +02:00
Raffaele Salmaso
3733ae8957
Fixed #32031 -- Added model class for each model to AdminSite.each_context().
2021-05-13 06:57:09 +02:00
Mariusz Felisiak
cd74aad90e
Refs #32682 -- Renamed use_distinct variable to may_have_duplicates.
...
QuerySet.distinct() is not the only way to avoid duplicate, it's also
not preferred.
2021-04-27 10:34:47 +02:00