Open dhasegan opened 10 years ago
caching is easy
check https://github.com/dhasegan/connect.academy/blob/master/app/explore/views.py#L26
https://github.com/dhasegan/connect.academy/blob/master/app/explore/views.py#L26
you import this: from django.core.cache import cache and then you can do cache.set cache.get cache.delete
from django.core.cache import cache
caching is easy
check
https://github.com/dhasegan/connect.academy/blob/master/app/explore/views.py#L26
you import this:
from django.core.cache import cache
and then you can do cache.set cache.get cache.delete