~kkubasik/django/aggregation-branch

« back to all changes in this revision

Viewing changes to django/middleware/cache.py

  • Committer: adrian
  • Date: 2006-05-02 01:31:56 UTC
  • Revision ID: vcs-imports@canonical.com-20060502013156-2941fcd40d080649
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
from django.conf import settings
2
2
from django.core.cache import cache
3
3
from django.utils.cache import get_cache_key, learn_cache_key, patch_response_headers
4
 
from django.utils.httpwrappers import HttpResponseNotModified
 
4
from django.http import HttpResponseNotModified
5
5
 
6
6
class CacheMiddleware:
7
7
    """