Some useful helpers for the django web framework