Skip to main content

Goals

myks-contact is a simple contact form. It’s adequate for a personal home page. It features a basic CAPTCHA.

Setup

myks-contact is a pluggable Django application. It is tested with Django ≥ 2.2.

  1. Download and install the package from PyPI:

    $ pip install myks-contact
  2. Add contact to INSTALLED_APPS:

    INSTALLED_APPS += ['contact']

    This allows Django to discover the built-in templates and translations.

  3. Define the list of recipients in the CONTACT_EMAILS setting:

    CONTACT_EMAILS = ['you@example.com']
  4. Add the application to your URLconf with the contact application namespace:

    urlpatterns += [
        path('contact/', include('contact.urls', namespace='contact')),
    ]

To use the built-in templates, your project’s base.html template must provide three blocks: title, extrahead and content, as shown in this example, and you must be using the staticfiles contrib app.

If these conditions are inconvenient, you can override the contact/form.html and contact/thanks.html templates.

Changelog

1.6

  • Update for Django 4.0.

  • Improved wording.

  • Simplified CSS.

1.5

  • Update for Django 3.0.

1.4

  • Update for Django 2.0.

1.3

  • Put sender email in Reply-To instead of From.

1.2

  • Responsive CSS layout.

1.1

  • Update for Django 1.8 and later.

1.0

  • Stable release.

0.3

  • Refactored tests for Django 1.6.

0.2

  • Bundled stylesheet.

0.1

  • Initial public release, extracted from my private repository.

  • Switched the implementation to class-based generic views.

  • Added documentation (README file).

Release files for myks-contact 1.6

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

Source distribution (sdist)

Source distribution for myks-contact 1.6
File Size Uploaded
myks-contact-1.6.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for myks-contact 1.6
File Interpreter ABI Platform
myks_contact-1.6-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 kB

Release files / myks-contact-1.6.tar.gz

Download URL myks-contact-1.6.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e8c757d96e4c60a68d42bfa14fa4c240ef715dd0f629441cd887f0c4d8861a8a
BLAKE2b-256 checksum
How to use checksums
f9b3d68734a5ad6e02c4e3fb6f9b977b83443263891a7c28d445035d40825a0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.1 Darwin/21.1.0

Release files / myks_contact-1.6-py3-none-any.whl

Download URL myks_contact-1.6-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49ca16f902dd5998950a22fc64400ad7f17323283e6e07ce9de793c0295caad0
BLAKE2b-256 checksum
How to use checksums
ecc1827a271552064c8e1f397a76d64387effe2f79d8369cb913a2fcf6fb2c72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.1 Darwin/21.1.0

Release history Release notifications | RSS feed

This release

1.6 This release

2 release files

1.5

2 release files

1.4

2 release files

1.3.1

2 release files

1.3

2 release files

1.2.1

2 release files

1.2

2 release files

1.1

2 release files

1.0

1 release file

0.3

1 release file

0.2

1 release file

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