django-memento-framework

A set for helpers for Django web sites to enable the Memento framework for time-based access.

How does it work?

Django’s class-based views are used to retrieve archived data and format it according to Memento’s rules.

The generic views in this package can be used to quickly:

  • Publish a TimeMap that lists all of the archived versions of each URL in your archive
  • Host a TimeGate that handles requests that include a URL and a timestamp, redirecting to the detail view for the nearest archive
  • Enrich detail views in the archive to include the extra metadata required by the Memento system