@select_query
    def hslice(self, query, attr, keys):
        query.add_extra({'_': 'slice("%s", %%s)' % attr}, [keys], None, None, None, None)
        result = query.get_compiler(self.db).execute_sql(SINGLE)
        if result and result[0]:
            field = self.model._meta.get_field_by_name(attr)[0]
            return dict((key, field._value_to_python(value)) for key, value in result[0].items())
        return {}
Provide a description of all media required to render the widgets on this form
dataset/ETHPy150Open djangonauts/djorm-ext-hstore/djorm_hstore/models.py/HStoreQuerysetMixin.hslice--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/forms/forms.py/BaseForm._get_media