2015-07-03 70 views
0

模板:错误:“Err_too_many_Redirects”此网页有重定向循环

<html> 
<head><title>Attendance Admin Page</title></head> 
<body> 
    <center> 
    <h1> List of Subfields <h1> 
<table> 
    <tr> 
     <td><a href="{% url 'student:list' %}">Classes</a></td> 
     <td><a href="{% url 'student:listsec' %}">Sections</a></td> 
     <td><a href="{% url 'student:listteach' %}">Teachers</a></td> 
     <td><a href="{% url 'student:listatten' %}">Attendance</a></td> 
    </tr> 
</table> 
</center> 

我想在为了方便在一个地方提供所有我所选择的网页的链接,但不幸的是当我试图抛出以上错误。

有没有什么办法可以让它成为可能?请提供修复。

谢谢!提前...

+0

请包括您的观点和网址......无法使用模板进行调试。这个问题很可能出现在您的视图或网址中,因为这是决定重定向的原因。 – Incognos

回答

0

明显:你的应用程序被重定向循环捕获。 尝试打开像Fiddler这样的网络监视器或Chrome开发人员工具中的“网络”标签,然后查看响应标题以查看尝试将其重定向到的位置......这可能有助于揭示此处出现的问题。