Skip to content

Commit

Permalink
We do not want django to cache our query
Browse files Browse the repository at this point in the history
  • Loading branch information
honzakral committed Nov 15, 2009
1 parent 7477e5c commit f66be20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangomarkup/models.py
Expand Up @@ -103,7 +103,7 @@ def extract_from_model(self, model, processor, fields):

ct = ContentType.objects.get_for_model(model)

for m in model._default_manager.all():
for m in model._default_manager.all().iterator():
self.extract_from_instance(m, processor, fields, ct)


Expand Down

0 comments on commit f66be20

Please sign in to comment.