Fixed import of url-related functions

Importing *defaults* raises DeprecationWarning in Django 1.5