Update urls.py

the defaults module was deprecated on Django 1.6. This adds Django 1.6 compatibility.