Fixed PageAdmin.change_view failing when LocaleMiddleware is not
installed

Thanks to @czpython for reporting this bug and helping fixinging it