Make pimms.wsgi compatible with Django 1.3