Skip to content

Commit

Permalink
ci: auto fixes from pre-commit hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 19, 2024
1 parent 4efb3a6 commit 1c777b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions djangocms_alias/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ def get_queryset(self, request):
description=_("category"),
ordering="alias_category_translations_ordered",
)

def get_category(self, obj):
return obj.alias.category

Expand Down Expand Up @@ -290,6 +289,6 @@ def get_actions(self, request):
actions["add_items_to_collection"] = (
add_items_to_collection,
"add_items_to_collection",
add_items_to_collection.short_description
add_items_to_collection.short_description,
)
return actions

0 comments on commit 1c777b6

Please sign in to comment.