Skip to main content

About contactform

tgapp-contactform is a Pluggable application for TurboGears2 that shows a simple contact form.

Installing

contactform can be installed both from pypi or from bitbucket:

pip install tgapp-contactform

should just work for most of the users

Plugging contactform

In your application config/app_cfg.py import plug:

from tgext.pluggable import plug

Then at the end of the file call plug with contactform:

plug(base_config, 'contactform')

You will be able to access the plugged application at http://localhost:8080/contactform.

Options

contactform.sender and contactform.recipients can be used to specify the mail sender and receiver. They are required but can be overwritten using the contactform.before_send hook.

Available Hooks

contactform makes available a some hooks which will be called during some actions to alter the default behavior of the appplications:

  • contactform.before_send(maildata) -> maildata -> called before sending email (the hook must return the maildata)

Release files for tgapp-contactform 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tgapp-contactform 0.0.3
File Size Uploaded
tgapp-contactform-0.0.3.tar.gz 4.9 kB Details

Release files / tgapp-contactform-0.0.3.tar.gz

Download URL tgapp-contactform-0.0.3.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
14d02ac33d89e43e91def83fbc22c0dd1a274de71e4bba30ae269d550e1791f8
BLAKE2b-256 checksum
How to use checksums
145490ddbd83867aedfcfb0fae20d91a3b8e95f6286567a5e6955c91407913f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page