Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Django ORM Same Old ORM django-debug-toolbar

Nursultan Bolatbayev
Nursultan Bolatbayev
16,774 Points

How I can use debug-toolbar in production server?

I see it is really handy tool for debugging. But can I use it in production somehow or any other options?

1 Answer

Piotr Szpetkowski
Piotr Szpetkowski
13,477 Points

Late answer. You should never use Django Debug Toolbar in production environment. It would bring so many security risks that it's completely unsafe.

Best alternative in production environment I can think of is Sentry and it's open source too. You can also use the cloud option if you wish to, however free tier is rather limited.