title: Django - How to call delete_selected() method?
body: <pre><code>from django.contrib.admin.actions import delete_selected
  from Test.app.models import Post
  from django.contrib import admin
  
  class PostModelAdmin(admin.ModelAdmin):
      fields= ('gender',)
      list_display = ('gender',) 
  
      def mark_deleted(self, request, queryset):
           print "deleted"
           return delete_selected(self, request, queryset)
  
  actions = [mark_deleted,]
  
  admin.site.register(Post, PostModelAdmin)
  </code></pre>
  
  <p>I just called the default bulk delete functions. It produces the following error. </p>
  
  <pre><code>Exception Type: AttributeError
  Exception Value:    
  'PostModelAdmin' object has no attribute 'model'
  </code></pre>
  
  <p>What  I need to pass for 'modeladmin' attribute? </p>
  
  <p>def delete_selected(modeladmin, request, queryset):</p>
  
  <h1>New issue</h1>
  
  <p>All the error are gone now. But none of the objects got deleted. This action always says like 'No Objects selected'. Any suggestions?</p>