# -*- coding: utf-8 -*-


def has_no_django():
    try:
        import django
        return False
    except ImportError:
        return True

# -*- coding: utf-8 -*-


def has_no_django():
    try:
        import django  # noqa isort:skip
        return False
    except ImportError:
        return True

Add noqa to conditional import
Add noqa to conditional import
