(self, request, obj, form, change)
Updating the bookmark plugin entries on bookmarks update.
Updating the bookmark plugin entries on bookmarks update.
Updating the bookmark plugin entries on bookmarks update .
def save_model(self, request, obj, form, change):
        """Updating the bookmark plugin entries on bookmarks update."""
        super(BookmarkAdmin, self).save_model(request, obj, form, change)

        dashboard_entries = DashboardEntry._default_manager.filter(
            plugin_uid__startswith='bookmark_'
        )
        try:
            update_plugin_data_for_entries(
                dashboard_entries=dashboard_entries,
                request=request
            )
        except Exception as err:
            logger.debug(str(err))
def save_model ( self , request , obj , form , change ) : super ( BookmarkAdmin , self ) . save_model ( request , obj , form , change ) dashboard_entries = DashboardEntry . _default_manager . filter ( plugin_uid__startswith = 'bookmark_' ) try : update_plugin_data_for_entries ( dashboard_entries = dashboard_entries , request = request ) except Exception as err : logger . debug ( str ( err ) )