def custom_show_toolbar(request):
    return request.user.is_superuser
Only show the debug toolbar to users with the superuser flag.
dataset/ETHPy150Open xenith/django-base-template/project_name/settings/base.py/custom_show_toolbar