How to clear cache in django?

How to clear cache in django ?

It can be accomplished via Django admin, by the following steps -

  1. We need to go to “/admin/clearcache/” , we can find a form with cache selector.
  2. Pick a cache.
  3. Click the button.

We can do the same, by using the command - pip install django-clearcache.