Make urls.py compatible with latest Django