Installation¶
PostgreSQL¶
Install PostgreSQL flavor of the library in the Python environment, that your PostgreSQL instance uses, so PL/Python stored procedures would be able to import tempo:
pip install python-tempo[postgresql]
Ensure, that PL/Python language is available for you in your PostgreSQL instance (see details here).
After installing Python egg, two commands will become available to you:
tempo-postgresql-install
andtempo-postgresql-uninstall
. They are output to stdout installation and uninstallation SQL scripts respectively.
Django¶
Perform steps for PostgreSQL.
Django-REST-Framework¶
Perform steps for Python or PostgreSQL. Perform steps for PostgreSQL.