Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from qingfeng/master

Fix work Django trunk
  • Loading branch information...
commit 9a47ace9f81a9b738769e12a4c588909284f42ab 2 parents cdbb0a3 + 501fd5a
@dcramer authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  ormcache/models.py
  2. +1 −1  ormcache/query.py
View
2  ormcache/models.py
@@ -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
2  ormcache/query.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.