recursionerror最大递归深度
sys.setrecursionlimit(1500)
In Python, recursion is limited to 999 calls.
RecursionError:调用Python对象时超出的最大递归深度
""" The program had called a function repeatedly and hasn't came to an end. """
""" What not to do: """
def test(i):
if i == 1:
return 1
else:
return test(i + 1)
recursionerror在django中调用python对象时超过最大递归深度
You seem to be including blogapp.urls inside itself. Doesn't sound like a good idea.