File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
django-stubs/contrib/admin Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ class AdminSite:
6161 ) -> None : ...
6262 def unregister (self , model_or_iterable : type [Model ] | Iterable [type [Model ]]) -> None : ...
6363 def is_registered (self , model : type [Model ]) -> bool : ...
64+ def get_model_admin (self , model : type [Model ]) -> ModelAdmin : ...
6465 def add_action (self , action : _ActionCallback , name : str | None = ...) -> None : ...
6566 def disable_action (self , name : str ) -> None : ...
6667 def get_action (self , name : str ) -> _ActionCallback : ...
Original file line number Diff line number Diff line change 22# Only discrepancies that appeared after Django 4.2 -> 5.0 update.
33# Unsorted: there are real problems and things we can really ignore.
44
5- django.contrib.admin.AdminSite.get_model_admin
65django.contrib.admin.AllValuesFieldListFilter.get_facet_counts
76django.contrib.admin.BooleanFieldListFilter.get_facet_counts
87django.contrib.admin.ChoicesFieldListFilter.get_facet_counts
@@ -24,14 +23,12 @@ django.contrib.admin.filters.FacetsMixin
2423django.contrib.admin.filters.RelatedFieldListFilter.get_facet_counts
2524django.contrib.admin.filters.SimpleListFilter.get_facet_counts
2625django.contrib.admin.options.IS_FACETS_VAR
27- django.contrib.admin.sites.AdminSite.get_model_admin
2826django.contrib.admin.utils.build_q_object_from_lookup_parameters
2927django.contrib.admin.utils.get_last_value_from_parameters
3028django.contrib.admin.views.main.ChangeList.get_queryset
3129django.contrib.contenttypes.fields.GenericForeignKey.get_content_type
3230django.contrib.contenttypes.fields.GenericForeignKey.get_prefetch_querysets
3331django.contrib.contenttypes.prefetch
34- django.contrib.gis.admin.AdminSite.get_model_admin
3532django.contrib.gis.admin.OpenLayersWidget
3633django.contrib.gis.admin.options.spherical_mercator_srid
3734django.contrib.gis.admin.widgets
You can’t perform that action at this time.
0 commit comments