Opened 13 years ago

Closed 13 years ago

#17395 closed New feature (wontfix)

runserver should print POST parameters

Reported by: Roy Smith 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

Description

When you run "manage.py 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 by Aymeric Augustin, 13 years ago

Resolution: wontfix
Status: newclosed

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