parameters: (request)
docstring: Index page.
function: def index(request):
      """
  
      Index page.
  
      """
      if not request.user.is_authenticated():
          return HttpResponseRedirect(reverse('login'))
      else:
          return HttpResponseRedirect(reverse('servers_list'))
function_tokens: def index ( request ) : if not request . user . is_authenticated ( ) : return HttpResponseRedirect ( reverse ( 'login' ) ) else : return HttpResponseRedirect ( reverse ( 'servers_list' ) )