Installation

This assumes you already have a WuttJamaican app+database setup and working.

Install the Wutta-Continuum package to your virtual environment:

pip install Wutta-Continuum

Edit your config file to enable Wutta-Continuum versioning:

[wutta_continuum]
enable_versioning = true

Note

The above must be done via config file; the settings table will not work.

Another edit required to your config file, is to make Alembic aware of this package for database migrations. You should already have an [alembic] section, but now must update it like so:

[alembic]
script_location = wuttjamaican.db:alembic
version_locations = wuttjamaican.db:alembic/versions wutta_continuum.db:alembic/versions

Then (as you would have done previously in Database Setup) you can migrate your database to add the versioning tables:

cd /path/to/env
bin/alembic -c /path/to/my.conf upgrade heads

And that’s it, the versioning/history feature should be setup and working.