Update urls.py for Django 1.6 compat

Compatibility with Django 1.5 and 1.6