Creates a default sessionmaker for class
Creates a default sessionmaker for class

Trying to make this change usable... was broken for anything previous.

Moved the 'create_session' argument to the end of input to keep compatibility.

Put the example back to original form.

Creates its own session maker if not given one.
(If a session is then needed outside the plugin, the plugin's session maker should be used.)
iurisilvio/bottle-sqlalchemy