Title: Deprecation of language storage in session · Issue #704 · feincms/feincms · GitHub
Open Graph Title: Deprecation of language storage in session · Issue #704 · feincms/feincms
X Title: Deprecation of language storage in session · Issue #704 · feincms/feincms
Description: Django 3 docs say (and Django 4 actually removes the feature): To limit creation of sessions and hence favor some caching strategies, django.views.i18n.set_language() will stop setting the user’s language in the session in Django 4.0. Si...
Open Graph Description: Django 3 docs say (and Django 4 actually removes the feature): To limit creation of sessions and hence favor some caching strategies, django.views.i18n.set_language() will stop setting the user’s l...
X Description: Django 3 docs say (and Django 4 actually removes the feature): To limit creation of sessions and hence favor some caching strategies, django.views.i18n.set_language() will stop setting the user’s l...
Opengraph URL: https://github.com/feincms/feincms/issues/704
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecation of language storage in session ","articleBody":"Django 3 docs say (and Django 4 actually removes the feature):\r\n\r\n\u003e To limit creation of sessions and hence favor some caching strategies, django.views.i18n.set_language() will stop setting the user’s language in the session in Django 4.0. Since Django 2.1, the language is always stored in the LANGUAGE_COOKIE_NAME cookie.\r\n\r\nWe should adapt `feincms/extensions/translation.py` as well as the tests that rely on that behaviour? \r\n\r\nIt's not super-urgent, as the fallback for django1.6 also somewhat covers the dj4 case, but that's more a happy accident than intentional.\r\n","author":{"url":"https://github.com/mjl","@type":"Person","name":"mjl"},"datePublished":"2022-05-10T13:21:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/704/feincms/issues/704"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:18ffda50-fd51-f410-3efc-8b8322809b70 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BED4:F1FC7:C63E57:1045800:69763606 |
| html-safe-nonce | 528d0999cf3aba24498b5df33584d84370df53571f181d844bb8aa93c71d435a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUQ0OkYxRkM3OkM2M0U1NzoxMDQ1ODAwOjY5NzYzNjA2IiwidmlzaXRvcl9pZCI6Ijg3NjI5MTY1NDQ4MDQ0MzU0NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7e3757f8790a8b20082ee2a7939105801056aa8fcd0ea62cece052051c582df8 |
| hovercard-subject-tag | issue:1231149200 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feincms/feincms/704/issue_layout |
| twitter:image | https://opengraph.githubassets.com/40c1ea66d3d3a02215640fab0ee91aa446676bfab43e23a2cd4e529fa56658bd/feincms/feincms/issues/704 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/40c1ea66d3d3a02215640fab0ee91aa446676bfab43e23a2cd4e529fa56658bd/feincms/feincms/issues/704 |
| og:image:alt | Django 3 docs say (and Django 4 actually removes the feature): To limit creation of sessions and hence favor some caching strategies, django.views.i18n.set_language() will stop setting the user’s l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mjl |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/feincms/feincms git https://github.com/feincms/feincms.git |
| octolytics-dimension-user_id | 935594 |
| octolytics-dimension-user_login | feincms |
| octolytics-dimension-repository_id | 116021 |
| octolytics-dimension-repository_nwo | feincms/feincms |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 116021 |
| octolytics-dimension-repository_network_root_nwo | feincms/feincms |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width