Opened 4 years ago

Closed 4 years ago

#17395 closed New feature (wontfix)

runserver should print POST parameters

Reported by: RoySmith Owned by: nobody
Component: Uncategorized Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When you run " runserver", it prints all the GET and POST requests it gets. It would be useful for application debugging if it printed the POST parameters as well.

Change History (1)

comment:1 Changed 4 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

POST data can be large (think uploaded files), and it's usually not included in server logs.

Typical debug techniques include:

  • adding a print request.POST statement in the view function you're debugging,
  • adding an import pdb; pdb.set_trace() statement in the code you're debugging,
  • using the Django debug toolbar, which displays lots of things, including POST data.
Note: See TracTickets for help on using tickets.
Back to Top