Skip to main content

Simple contact form

Project description


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


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:

  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.



  • Update for Django 4.0.

  • Improved wording.

  • Simplified CSS.


  • Update for Django 3.0.


  • Update for Django 2.0.


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


  • Responsive CSS layout.


  • Update for Django 1.8 and later.


  • Stable release.


  • Refactored tests for Django 1.6.


  • Bundled stylesheet.


  • Initial public release, extracted from my private repository.

  • Switched the implementation to class-based generic views.

  • Added documentation (README file).

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

myks-contact-1.6.tar.gz (8.4 kB view hashes)

Uploaded source

Built Distribution

myks_contact-1.6-py3-none-any.whl (10.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page