Skip to content

Commit

Permalink
Merge pull request #1 from qingfeng/master
Browse files Browse the repository at this point in the history
Fix work Django trunk
  • Loading branch information
dcramer committed Jun 4, 2011
2 parents cdbb0a3 + 501fd5a commit 9a47ace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ormcache/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _prepare(cls):
cls.add_to_class('objects', CacheManager())
cls.add_to_class('nocache', Manager())
cls.add_to_class('_default_manager', cls.nocache)
dispatcher.send(signal=signals.class_prepared, sender=cls)
signals.class_prepared.send(sender=cls)

@staticmethod
def _get_cache_key_for_pk(model, pk):
Expand Down
2 changes: 1 addition & 1 deletion ormcache/query.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.db.models.query import QuerySet, GET_ITERATOR_CHUNK_SIZE
from django.db.models.query import QuerySet, ITER_CHUNK_SIZE
from django.db import backend, connection
from django.core.cache import cache
from django.conf import settings
Expand Down

0 comments on commit 9a47ace

Please sign in to comment.