Skip to content

testdrivenio/cache-django-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caching in Django

Cache a Django view using both Memcached and Redis

Want to learn how to build this?

Check out the post.

Want to use this project?

  1. Fork/Clone

  2. Pick one: Redis or Memcached

  3. Run:

    $ python3 -m venv env && source env/bin/activate
    (env)$ pip install -r requirements.txt
    (env)$ python manage.py makemigrations
    (env)$ python manage.py migrate
    (env)$ python manage.py runserver