urls.py compatible with < 1.6 and >= 1.6