def track_view_name(request, view_func):
    if settings.INTERNAL_IPS in request.META.get('REMOTE_ADDR') or (request.user.is_active and request.user.is_staff):
        view_name = "{0}.{1}".format(view_func.__module__, get_view_name(view_func))
        request._xview = view_name
        return view_name
dataset/ETHPy150Open edoburu/django-debugtools/debugtools/utils/xview.py/track_view_name/swapped operands of `in`