def become_daemon(*args, **kwargs):
    """become_daemon function wrapper

    In Django 1.9, 'become_daemon' is removed.
    It means compatibility.
    """
    if django.VERSION >= (1, 9):
        from .daemonize import become_daemon
    else:
        from django.utils.daemonize import become_daemon
    return become_daemon(*args, **kwargs)
def become_daemon ( * args , ** kwargs ) : if django . VERSION >= ( 1 , 9 ) : from . daemonize import become_daemon else : from django . utils . daemonize import become_daemon return become_daemon ( * args , ** kwargs )
become_daemon function wrapper

    In Django 1.9, 'become_daemon' is removed.
    It means compatibility.