Skip to content

Instantly share code, notes, and snippets.

@skyl skyl/gist:849500
Created Mar 1, 2011

What would you like to do?
stashing a mediocre idea
import djredis.models as djr
class MyMod(models.Model, djr.DredisMixin):
currency = models.CharField(max_length=3)
djr_currency = djr.String()
cache_fields = (('currency', 'djr_currency'),)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.