Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

be i18n l10n aware in the cache key #2

Merged
merged 8 commits into from
Oct 13, 2016
Merged

Conversation

zsoldosp
Copy link
Owner

No description provided.

not using django.utils.translation.override because in the test used,
the settings `USE_I18N` and `USE_L10N` are modified, and thus we need to
reset the `django.utils.translation._trans` object's cached method
calls. See the docstrings for the `Trans` class in the same module
it's been implicit up to now, but to make sure the regression tests etc.
work, let's explicitly disable them
to avoid multiple languages based admins
@kairichard kairichard merged commit 319ceb2 into master Oct 13, 2016
@zsoldosp zsoldosp deleted the pz-be-i18n-l10n-aware branch October 13, 2016 13:00
@zsoldosp
Copy link
Owner Author

released to pypi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants