Fix deprecated use of django.conf.urls.defaults

Since Django 1.4, django.conf.urls.defaults is deprecated, and it
has been completely removed form Django 1.6. This patch fixes the
use of this API.

Change-Id: Ic8a3937e1d16d071650cd9b5fbf9737d06b3ad62
Close-bug: #1293712