<commit_before>mYk's contact form
##################

Goals
=====

`myks-contact`_ is a simple contact form. It's adequate for a personal home
page. It features a basic CAPTCHA_.

.. _myks-contact: https://github.com/aaugustin/myks-contact
.. _CAPTCHA: http://en.wikipedia.org/wiki/Captcha

Setup
=====

myks-contact is a pluggable Django application. It works with Python >= 2.6 and
Django >= 1.5.

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 = ['<EMAIL>']

4.  Add the application to your URLconf with the ``contact`` application
    namespace::

        urlpatterns += [
            url(r'^contact/', include('contact.urls', namespace='contact', app_name='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.

.. _example: https://github.com/aaugustin/myks-contact/blob/master/contact/tests/templates/base.html

Changelog
=========

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).<commit_msg>Update supported versions.<commit_after>mYk's contact form
##################

Goals
=====

`myks-contact`_ is a simple contact form. It's adequate for a personal home
page. It features a basic CAPTCHA_.

.. _myks-contact: https://github.com/aaugustin/myks-contact
.. _CAPTCHA: http://en.wikipedia.org/wiki/Captcha

Setup
=====

myks-contact is a pluggable Django application. It works with Python >= 2.7 and
Django >= 1.8.

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 = ['<EMAIL>']

4.  Add the application to your URLconf with the ``contact`` application
    namespace::

        urlpatterns += [
            url(r'^contact/', include('contact.urls', namespace='contact', app_name='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.

.. _example: https://github.com/aaugustin/myks-contact/blob/master/contact/tests/templates/base.html

Changelog
=========

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).
{'fraction_non_alphanumeric': 0.1378917378917379, 'fraction_numerical': 0.011396011396011397, 'mean_word_length': 3.589542483660131, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2421510', 'n_tokens_mistral': 1126, 'n_tokens_neox': 1063, 'n_words': 362}