Changed SEOFriendlyLocaleMiddleware to use the new schema in django 1.8