NewsBlur/utils/cache/utils.py
Samuel Clay 48ba40e29b Initial
2009-06-16 03:08:55 +00:00

2 lines
85 B
Python

def get_cache_key_for_pk(model, pk):
return '%s:%s' % (model._meta.db_table, pk)