Previous topic

stalker.models.version.Version

Next topic

stalker.db.setup

This Page

stalker.dbΒΆ

Database module of Stalker.

Whenever stalker.db or something under it imported, the stalker.db.setup() becomes available to let one setup the database.

Functions

engine_from_config(configuration[, prefix]) Create a new Engine instance using a configuration dictionary.
register(class_) Registers the given class to the database.
setup([settings, callback]) Utility function that helps to connect the system to the given database.

Classes

Base(**kwargs)

Exceptions

IntegrityError(statement, params, orig[, ...]) Wraps a DB-API IntegrityError.