<s> from django . shortcuts import render_to_response <EOL> from django . template import RequestContext <EOL> from dnd . menu import menu_item <EOL> from dnd . models import NewsEntry <EOL> @ menu_item ( "<STR_LIT>" ) <EOL> def index_mobile ( request ) : <EOL> news_entries = NewsEntry . objects . filter ( enabled = True ) . order_by ( '<STR_LIT>' ) [ : <NUM_LIT:15> ] <EOL> response = render_to_response ( '<STR_LIT>' , <EOL> { <EOL> '<STR_LIT>' : request , '<STR_LIT>' : news_entries , <EOL> } , <EOL> context_instance = RequestContext ( request ) , ) <EOL> if len ( news_entries ) : <EOL> response . set_cookie ( '<STR_LIT>' , news_entries [ <NUM_LIT:0> ] . pk , <NUM_LIT:10> * <NUM_LIT> * <NUM_LIT> * <NUM_LIT> * <NUM_LIT> ) <EOL> return response </s>
