<s> from sellmo . core . http . query import QueryString <EOL> from sellmo . apps . product . routines import list_products_from_request <EOL> from django . template . response import TemplateResponse <EOL> def index ( request ) : <EOL> query = QueryString ( request ) <EOL> products = list_products_from_request ( request , featured = True , query = query ) <EOL> context = { <EOL> '<STR_LIT>' : products [ : <NUM_LIT:8> ] , '<STR_LIT:q>' : query <EOL> } <EOL> return TemplateResponse ( request , '<STR_LIT>' , context ) </s>
