3 ms·
I don't understand #1. You can have DjDT show up only on a condition, e.g. when someone is a superuser. Isn't it the same as this project?
by StavrosK 12y ago
I don't understand #1. You can have DjDT show up only on a condition, e.g. when someone is a superuser. Isn't it the same as this project?
- dalore 12y agoChecking for a user will break caching though.
- jlafon 12y agoWhat I meant is that getting the toolbar to show up when you aren't serving from localhost isn't as trivial as setting DEBUG=True. It requires other settings (https://github.com/django-debug-toolbar/django-debug-toolbar/blob/f1a30456cf2a85bf45e5bc0d8c95fd2ac3fc23a7/debug_toolbar/middleware.py#L26 https://github.com/django-debug-toolbar/django-debug-toolbar...) which can be annoying to configure.