summaryrefslogtreecommitdiff
path: root/django/contrib/admin/options.py
diff options
context:
space:
mode:
authorMike Edmunds <medmunds@gmail.com>2025-07-22 20:40:48 -0700
committernessita <124304+nessita@users.noreply.github.com>2025-07-23 20:17:55 -0300
commit55b0cc21310b76ce4018dd793ba50556eaf0af06 (patch)
treeb56d75363688b6ac34f7e9a773c793d79750104b /django/contrib/admin/options.py
parent5527df91921b54b9fd1eb9aca3aabe91ec58a9c7 (diff)
Refs #36500 -- Shortened some long docstrings and comments.
Manually reformatted some long docstrings and comments that would be damaged by the to-be-applied autofixer script, in cases where editorial judgment seemed necessary for style or wording changes.
Diffstat (limited to 'django/contrib/admin/options.py')
-rw-r--r--django/contrib/admin/options.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py
index fc1c3f1eda..c3ccc6c4fe 100644
--- a/django/contrib/admin/options.py
+++ b/django/contrib/admin/options.py
@@ -1629,7 +1629,7 @@ class ModelAdmin(BaseModelAdmin):
# the action explicitly on all objects.
selected = request.POST.getlist(helpers.ACTION_CHECKBOX_NAME)
if not selected and not select_across:
- # Reminder that something needs to be selected or nothing will happen
+ # Something needs to be selected or nothing will happen.
msg = _(
"Items must be selected in order to perform "
"actions on them. No items have been changed."
@@ -2399,7 +2399,7 @@ class InlineModelAdmin(BaseModelAdmin):
return self.max_num
def get_formset(self, request, obj=None, **kwargs):
- """Return a BaseInlineFormSet class for use in admin add/change views."""
+ """Return a BaseInlineFormSet class for use in add/change views."""
if "fields" in kwargs:
fields = kwargs.pop("fields")
else: