Update urls.py to work with Django 1.6

In Django 1.6, the usage of django.conf.urls.defaults
has been deprecated.

Both pattern and url can be imported from django.conf.urls