harikvpy / django-popupcrud

A CRUD framework that implements CRUD operations through HTML popups.
BSD 3-Clause "New" or "Revised" License
16 stars 6 forks source link

Action column is displayed in list view when all actions are disabled #2

Open harikvpy opened 6 years ago

harikvpy commented 6 years ago

Action column, that contains links to Edit,Delete or user defined actions should be hidden if the list view explicitly disables all per item actions. That is, CrudViewSet is used purely as a list view as below:

class ModelCrudViewSet(PopupCrudViewSet):
    ...
    def get_edit_url(self, obj):
        return None

    def get_delete_url(self, obj):
        return None