Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you run code.interact from a django view if you've set your server to run not as a daemon?


I believe so - I use pdb.set_trace all the time in my django views (during debugging) and prefer it to code.interact


I just tried it and it works




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: