(self, dashboard_entry)
Update plugin data.

        Used in ``dash.management.commands.dash_update_plugin_data``.

        Some plugins would contain data fetched from various sources (models,
        remote data). Since dashboard entries are by definition loaded
        extremely much, you are advised to store as much data as possible in
        ``plugin_data`` field of ``dash.models.DashboardEntry``. Some
        externally fetched data becomes invalid after some time and needs
        updating. For that purpose, in case if your plugin needs that, redefine
        this method in your plugin. If you need your data to be periodically
        updated, add a cron-job which would run ``dash_update_plugin_data``
        management command (see
        ``dash.management.commands.dash_update_plugin_data`` module).

        :param dash.models.DashboardEntry dashboard_entry: Instance of
            ``dash.models.DashboardEntry``.
        :return dict: Should return a dictionary containing data of fields to
            be updated.
Update plugin data.
Update plugin data .
def update_plugin_data(self, dashboard_entry):
        """Update plugin data.

        Used in ``dash.management.commands.dash_update_plugin_data``.

        Some plugins would contain data fetched from various sources (models,
        remote data). Since dashboard entries are by definition loaded
        extremely much, you are advised to store as much data as possible in
        ``plugin_data`` field of ``dash.models.DashboardEntry``. Some
        externally fetched data becomes invalid after some time and needs
        updating. For that purpose, in case if your plugin needs that, redefine
        this method in your plugin. If you need your data to be periodically
        updated, add a cron-job which would run ``dash_update_plugin_data``
        management command (see
        ``dash.management.commands.dash_update_plugin_data`` module).

        :param dash.models.DashboardEntry dashboard_entry: Instance of
            ``dash.models.DashboardEntry``.
        :return dict: Should return a dictionary containing data of fields to
            be updated.
        """
def update_plugin_data ( self , dashboard_entry ) :