Simple contact form for Kotti.
Pull request Compare This branch is 70 commits behind Kotti:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
kotti_contactform
.gitignore
.travis.yml
AUTHORS.txt
CHANGES.txt
COPYING.txt
MANIFEST.in
README.rst
README.txt
development.ini
runtests.py
setup.cfg
setup.py

README.rst

kotti_contactform

This is an extension to Kotti that allows to add a simple contact form to your site. build status

Find out more about Kotti

Development happens at https://github.com/chrneumann/kotti_contactform

Setup

To enable the extension in your Kotti site, activate the configurator:

kotti.configurators = kotti_contactform.kotti_configure

kotti_contactform uses pyramid_mailer for sending mails and tries to use your mailserver at localhost:25. If these defaults don't fit your needs, you have to configure pyramid_mailer: http://packages.python.org/pyramid_mailer/

If you add kotti_contactform to an existing Kotti site (i.e. a Kotti installation with an already existing database), you have to initialize the database migration with Kotti's kotti-migrate console skript: kotti-migrate stamp_head --scripts=kotti_contactform:alembic.

Database upgrade

If you upgrade from version 0.1.0 to 0.1.1 you have to migrate your database. The migration is performed with alembic and Kotti's console script kotti-migrate. To migrate, run kotti-migrate upgrade_all --scripts=kotti_contactform:alembic.

For integration of alembic in your environment please refer to the alembic documentation. If you have problems with the upgrade, please create a new issue in the tracker.