Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

Commit

Permalink
Add cache-machine to BannerInstance.
Browse files Browse the repository at this point in the history
fix bug 716592
  • Loading branch information
Michael Kelly committed Jan 9, 2012
1 parent 8ccf8b1 commit 1271439
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/banners/models.py
Expand Up @@ -75,6 +75,7 @@ class BannerInstance(BadgeInstance):
image = models.ForeignKey(BannerImage)

details_template = 'banners/details.html'
objects = CachingManager()

@property
def preview(self):
Expand Down

0 comments on commit 1271439

Please sign in to comment.