Commit Graph

6 Commits

Author SHA1 Message Date
Christopher C. Wells b5d9875e9a Fix linting issues 2021-10-26 19:55:16 -07:00
Christopher C. Wells 0efe0e4f0b Remove deprecated use of session-based language handling
Session-based language handling is deprecated in Django 3.x and will be
removed in 4.x.

https://docs.djangoproject.com/en/3.2/topics/i18n/translation/#explicitly-setting-the-active-language
2021-10-26 19:55:16 -07:00
Christopher C. Wells f29269869c Only add sessions refresh data to existing sessions
Prior to change session were created for _every_ request (including API
requests).
2021-08-05 06:34:08 -07:00
Peter Hardy 2806d0a22f The rest of the middleware commit 2020-05-17 20:11:08 +10:00
Peter Hardy 1d9a7d4215 Adds rolling session refresh middleware (#130) 2020-05-17 16:57:00 +10:00
Christopher C. Wells c05ce176fc Persist user timezone setting with middleware 2020-02-14 12:45:24 -08:00