DRY navigation for Django