**all_session_args)
session = MultilangScopedSession(sm)
- # Default to English. Warning, magic constant, blah blah. Trying to fetch
- # English here would kinda break on new databases. TODO still not an ideal
- # solution, I guess.
- session._default_language_id = 9
+ # Default to English. Warning, magic constant, messing with internals,
+ # blah blah. Trying to fetch English here would kinda break on new
+ # databases. TODO still not an ideal solution, I guess.
+ session.registry()._default_language_id = 9
return session