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.
Note:
See TracTickets
for help on using tickets.
POST data can be large (think uploaded files), and it's usually not included in server logs.
Typical debug techniques include:
print request.POST
statement in the view function you're debugging,import pdb; pdb.set_trace()
statement in the code you're debugging,