(self, fields, request=None)
return json.dumps(data)
Gets plugin data.

        :param iterable fields: List of tuples to iterate.
        :param django.http.HttpRequest request:
        :return string: JSON dumpled string.
Gets plugin data.
Gets plugin data .
def _get_plugin_data(self, fields, request=None):
        """Gets plugin data.

        :param iterable fields: List of tuples to iterate.
        :param django.http.HttpRequest request:
        :return string: JSON dumpled string.
        """
        data = {}

        for field, default_value in fields:
            data.update({field: self.cleaned_data.get(field)})
        return json.dumps(data)
def _get_plugin_data ( self , fields , request = None ) : data = { } for field , default_value in fields : data . update ( { field : self . cleaned_data . get ( field ) } ) return json . dumps ( data )