aleph.views.util

aleph.views.util.extract_next_url(req)

Extracts the URL/path to follow when redirects/unauthorization occurs.

Parameters:req (object) – Flask request object to extract from.
Returns:Path of the next target URL.
Return type:str
aleph.views.util.get_document(document_id)
aleph.views.util.get_entity(id, action)
aleph.views.util.is_safe_url(target)
aleph.views.util.make_excel(result_iter, fields)