def page_two_calculation(arg1, arg2):
    return arg1 + arg2

@task
def page_two_task(arg1, arg2):
    result = page_two_calculation(arg1, arg2)
cache_key = 'page-two-%s-%s'(arg1, arg2)
cache.set(cache_key, result)

def page_one(request, arg1, arg2):
    pass
django pre-calculate and cache a view