Update urls.py, fix deprecation warning