def extra_view_dispatch(request, view):
 theme = get_current_theme(request)
 view_func = get_view_by_name(theme, view)
 if (not view_func):
  msg = ('%s/%s: Not found' % (getattr(theme, 'identifier', None), view))
  return HttpResponseNotFound(msg)
 return view_func(request)

def extra_view_dispatch ( request , view ) : theme = get_current_theme ( request ) view_func = get_view_by_name ( theme , view ) if ( not view_func ) : msg = ( '%s/%s: Not found' % ( getattr ( theme , 'identifier' , None ) , view ) ) return HttpResponseNotFound ( msg ) return view_func ( request )
dispatch to an xtheme extra view .