[Django]-Django – maximum recursion depth exceeded while calling a Python object


You are extending base_generic.html in header.html in the body section and also including header.html in base_generic.html. Only do either of those.


This error occurs when you include app.urls inside itself. It doesn’t sound like a good idea.
So check your urls.py again.


This error happens because you didn’t add {% load static %} to all of your html file.

Just now i found this, it worked for me.


Leave a comment