Installation Install django-pghistory with: pip3 install django-pghistory After this, add pghistory to the INSTALLED_APPS setting of your Django project.