Prevent PendingDeprecationWarning on Django 1.4

When using tests with Django 1.4 there's a PendingDeprecationWarning due to changes in django.conf.urls