Changes between Version 1 and Version 2 of Ticket #30072
- Timestamp:
- Jan 3, 2019, 8:07:57 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30072
- Property Resolution → duplicate
- Property Status new → closed
- Property Summary get_current cache uses global variable instead of cache breaking multiple instance deployments. → SiteManager.get_current() cache uses global variable instead of cache breaking multiple instance deployments.
-
Ticket #30072 – Description
v1 v2 3 3 I would patch it to use the Django caching system instead of a global, but I'm not sure if that's the correct way to go about it. 4 4 5 Relevant code: https://github.com/django/django/blob/ master/django/contrib/sites/models.py#L1035 Relevant code: https://github.com/django/django/blob/b5fe97a34ea527d4254b58c2e828450e7c32157f/django/contrib/sites/models.py#L103 6 6 7 7