Example #1
0
 def has_delete_permission(self, request, obj=None):
     return RelatedModelAdmin.has_delete_permission(self, request, obj)
Example #2
0
 def get_menu(self, request, *args, **kwargs):
     basecontent = kwargs.pop('basecontent', None)
     queryset = RelatedModelAdmin.queryset(self, request, basecontent)
     return queryset and queryset.get() or None
Example #3
0
 def has_add_permission(self, request):
     return RelatedModelAdmin.has_add_permission(self, request)