from threading import Thread

def postpone(function):

    def decorator(*args, **kwargs):
        t = Thread(target=function, args=args, kwargs=kwargs)
t.daemon = True
t.start()
return decorator
Multithreading for Python Django