Example #1
0
def path_history_link(path):
    from_dt = datefuncs.start_of_year(datetime.datetime.now().year).isoformat()
    return ('/reporting/history/path/%s/?from=%s' % (path.replace('.', '_'), from_dt))
Example #2
0
def acct_history_link(id):
    from_dt = datefuncs.start_of_year(datetime.datetime.now().year).isoformat()
    return ('/reporting/history/account/%s/?from=%s' % (id, from_dt))