<s> from django . http import HttpResponseRedirect <EOL> from django . template import RequestContext <EOL> from ionyweb . website . rendering . utils import render_view <EOL> def index_view ( request , page_app ) : <EOL> if page_app . url != '<STR_LIT>' : <EOL> return HttpResponseRedirect ( page_app . url ) <EOL> else : <EOL> return render_view ( '<STR_LIT>' , <EOL> { '<STR_LIT>' : page_app } , <EOL> context_instance = RequestContext ( request ) ) </s>
