Permalink
Browse files

Fix work Django trunk

  • Loading branch information...
1 parent cdbb0a3 commit 501fd5a8aa2a27beea329661f45582a2a76d0dc9 Feng Qing committed Apr 16, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 ormcache/models.py
  2. +1 −1 ormcache/query.py
View
@@ -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):
View
@@ -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

0 comments on commit 501fd5a

Please sign in to comment.