make urls.py compatible with django 1.6