Replace django.conf.urls.defaults with django.conf.urls (for Django 1.5)
Pass request parameter to resource.get_processed_info