mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
fixed actions doc
This commit is contained in:
parent
dedaadae5f
commit
b586bd007a
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ In our blog/admin.py module we write:
|
|||
default_template_name = 'actions/delete_all_comments_confirmation.html'
|
||||
success_message = 'Successfully deleted %d %s' # first argument - items count, second - verbose_name[_plural]
|
||||
|
||||
def process_query(self):
|
||||
def process_queryset(self):
|
||||
"""Every action must provide this method"""
|
||||
self.get_queryset().delete()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue