1 | *** django/utils/cache.py 2011-05-06 21:40:42.000000000 +0200
|
---|
2 | --- ../django/utils/cache.py 2011-05-06 21:18:33.000000000 +0200
|
---|
3 | ***************
|
---|
4 | *** 151,156 ****
|
---|
5 | --- 151,157 ----
|
---|
6 | # LANGUAGE_CODE to request, then fall back to the active language
|
---|
7 | # which in turn can also fall back to settings.LANGUAGE_CODE
|
---|
8 | cache_key += '.%s' % getattr(request, 'LANGUAGE_CODE', get_language())
|
---|
9 | + cache_key += '.%s' % (request.get_host())
|
---|
10 | return cache_key
|
---|
11 |
|
---|
12 | def _generate_cache_key(request, method, headerlist, key_prefix):
|
---|