Changes between Version 1 and Version 2 of Ticket #30072


Ignore:
Timestamp:
Jan 3, 2019, 8:07:57 AM (5 years ago)
Author:
Tim Graham
Comment:

Duplicate of #15894.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30072

    • Property Resolutionduplicate
    • Property Status newclosed
    • 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  
    33I 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.
    44
    5 Relevant code: https://github.com/django/django/blob/master/django/contrib/sites/models.py#L103
     5Relevant code: https://github.com/django/django/blob/b5fe97a34ea527d4254b58c2e828450e7c32157f/django/contrib/sites/models.py#L103
    66
    77
Back to Top