Removed unused import of ACTION_CHECKBOX_NAME in django.contrib.admin.
Unused since e651b3095c950627b1eed1527f2bb011ddad03de.
This commit is contained in:
parent
e651b3095c
commit
4c45b627f8
@ -1,12 +1,9 @@
|
|||||||
# ACTION_CHECKBOX_NAME is unused, but should stay since its import from here
|
|
||||||
# has been referenced in documentation.
|
|
||||||
from django.contrib.admin.decorators import register
|
from django.contrib.admin.decorators import register
|
||||||
from django.contrib.admin.filters import (
|
from django.contrib.admin.filters import (
|
||||||
AllValuesFieldListFilter, BooleanFieldListFilter, ChoicesFieldListFilter,
|
AllValuesFieldListFilter, BooleanFieldListFilter, ChoicesFieldListFilter,
|
||||||
DateFieldListFilter, FieldListFilter, ListFilter, RelatedFieldListFilter,
|
DateFieldListFilter, FieldListFilter, ListFilter, RelatedFieldListFilter,
|
||||||
RelatedOnlyFieldListFilter, SimpleListFilter,
|
RelatedOnlyFieldListFilter, SimpleListFilter,
|
||||||
)
|
)
|
||||||
from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME
|
|
||||||
from django.contrib.admin.options import (
|
from django.contrib.admin.options import (
|
||||||
HORIZONTAL, VERTICAL, ModelAdmin, StackedInline, TabularInline,
|
HORIZONTAL, VERTICAL, ModelAdmin, StackedInline, TabularInline,
|
||||||
)
|
)
|
||||||
@ -14,10 +11,10 @@ from django.contrib.admin.sites import AdminSite, site
|
|||||||
from django.utils.module_loading import autodiscover_modules
|
from django.utils.module_loading import autodiscover_modules
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"register", "ACTION_CHECKBOX_NAME", "ModelAdmin", "HORIZONTAL", "VERTICAL",
|
"register", "ModelAdmin", "HORIZONTAL", "VERTICAL", "StackedInline",
|
||||||
"StackedInline", "TabularInline", "AdminSite", "site", "ListFilter",
|
"TabularInline", "AdminSite", "site", "ListFilter", "SimpleListFilter",
|
||||||
"SimpleListFilter", "FieldListFilter", "BooleanFieldListFilter",
|
"FieldListFilter", "BooleanFieldListFilter", "RelatedFieldListFilter",
|
||||||
"RelatedFieldListFilter", "ChoicesFieldListFilter", "DateFieldListFilter",
|
"ChoicesFieldListFilter", "DateFieldListFilter",
|
||||||
"AllValuesFieldListFilter", "RelatedOnlyFieldListFilter", "autodiscover",
|
"AllValuesFieldListFilter", "RelatedOnlyFieldListFilter", "autodiscover",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -268,6 +268,10 @@ Miscellaneous
|
|||||||
* The compatibility imports of ``Context``, ``ContextPopException``, and
|
* The compatibility imports of ``Context``, ``ContextPopException``, and
|
||||||
``RequestContext`` in ``django.template.base`` are removed.
|
``RequestContext`` in ``django.template.base`` are removed.
|
||||||
|
|
||||||
|
* The compatibility import of
|
||||||
|
``django.contrib.admin.helpers.ACTION_CHECKBOX_NAME`` in
|
||||||
|
``django.contrib.admin`` is removed.
|
||||||
|
|
||||||
* The :setting:`STATIC_URL` and :setting:`MEDIA_URL` settings set to relative
|
* The :setting:`STATIC_URL` and :setting:`MEDIA_URL` settings set to relative
|
||||||
paths are now prefixed by the server-provided value of ``SCRIPT_NAME`` (or
|
paths are now prefixed by the server-provided value of ``SCRIPT_NAME`` (or
|
||||||
``/`` if not set). This change should not affect settings set to valid URLs
|
``/`` if not set). This change should not affect settings set to valid URLs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user