Allow datacontext to return the real values for concepts and filters

![screen shot 2014-05-29 at 11 06 52 am](https://cloud.githubusercontent.com/assets/2774472/3119075/eb405cf4-e742-11e3-936a-7edb45d6961d.png)

What is returned when a filter is applied.

This will be used to apply styles to the filter display in filter.js 

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Separation of concerns. This feature is being implemented to expose the cleaned value in addition to the raw value that are already supplied. How Cilantro (or any client) consumes that data should influence the behavior of the API.

On Jul 25, 2014, at 4:43 PM, Sheik Hassan <notifications@github.com> wrote:

> In avocado/query/oldparsers/datacontext.py:
> 
> > @@ -237,6 +240,35 @@ def validate(attrs, **context):
> >              field.validate(operator=attrs['operator'], value=attrs['value'])
> >              node = parse(attrs, **context)
> >              attrs['language'] = node.language['language']
> > +
> > +            if 'cleaned_data' in node._meta:
> > +                value = node._meta['cleaned_data']['value']
> right now the cilantro end uses cleaned_data for all the styling. so for regular fields, would we just set cleaned_data to null?
> Or another suggestion is to set cleaned_data equal to the values so the cilantro end (and the tests) work fine
> 
> —
> Reply to this email directly or view it on GitHub.
>