Reopen ticket #32088, django.contrib.sessions, get_expiry_date() func problem

2022-01-22 Thread ahmad khalili
* Confusing return value in SessionStore('some_session') .get_expiry_date(), example:* from datetime import datetime from django.contrib.sessions.backends.db import SessionStore my_session = SessionStore() my_session.get_expiry_date() # this return new created sessions expiration time(14 days

Guidelines to contribute a JavaScript patch

2022-01-22 Thread Jagruti Tiwari
Hi all, I am a beginner to open source project contributions. Am a working professional with one year of experience in Django and three years with JavaScript. I came across this article

Making key_prefix callable for more flexible caching

2022-01-22 Thread Tobias Kunze
Hi all, after mostly caching via external tools or manually for years, I've been trying out Django's built-in caching recently, and have ran into an issue that I believe could improve the use cases of `cache_page` a lot: `cache_page`/`CacheMiddleware` take an optional `key_prefix` argument as a s