Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(2)  |  Import(1)

src/d/j/django-admin2-HEAD/example/blog/actions.py   django-admin2(Download)
from django.contrib import messages
 
from djadmin2.actions import BaseListAction
from djadmin2 import permissions
 
 
 
class CustomPublishAction(BaseListAction):
class PublishAllItemsAction(BaseListAction):
    permission_classes = BaseListAction.permission_classes + (
        permissions.ModelChangePermission,
    )