How can django debug toolbar be set to work for just some users?
Try: def show_toolbar(request): return not request.is_ajax() and request.user and request.user.username == “yourusername” DEBUG_TOOLBAR_CONFIG = { ‘SHOW_TOOLBAR_CALLBACK’: ‘projectname.settings.show_toolbar’, # Rest of config }