The way you had it before is the preferred way of doing this for the urls.py file