Archives de Tag: Debugger

How to debug Django using the Python Debugger PDB

Even if that seems common sense, i found out that there’s not that much sources that explains how to use PDB with Django’s bundle webserver.  So here we go, let’s say you have some treatment like that : def search(request): «  » » search (it’s written up there). «  » » if request.method == ‘POST’: item = request.POST[‘item’] # separate […]