Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.