Metadata-Version: 2.1
Name: django-form-error-reporting
Version: 0.8
Summary: A form mixin that reports form errors as events to Google Analytics
Home-page: https://github.com/ministryofjustice/django-form-error-reporting
Author: Ministry of Justice Digital & Technology
Author-email: dev@digital.justice.gov.uk
License: MIT
Keywords: django form errors google-analytics
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: Django (<4,>=2.2)
Requires-Dist: requests

Django Form Error Reporting
===========================

A form mixin that reports form errors as events to Google Analytics.

Usage
-----

Install using ``pip install django-form-error-reporting``.

See examples in tests/forms.py

.. code-block:: python

    class ReportedForm(GAErrorReportingMixin, Form):
        ga_tracking_id = 'UA-12345678-0'

        ...

Development
-----------

.. image:: https://travis-ci.org/ministryofjustice/django-form-error-reporting.svg?branch=master
    :target: https://travis-ci.org/ministryofjustice/django-form-error-reporting

Please report bugs and open pull requests on `GitHub`_.

Use ``python setup.py test`` to run all tests.

Distribute a new version by updating the ``version`` argument in ``setup.py:setup`` and
creating a release in GitHub (this triggers a GitHub Actions workflow to automatically upload it).

Copyright
---------

Copyright (C) 2020 HM Government (Ministry of Justice Digital Services).
See LICENSE.txt for further details.

.. _GitHub: https://github.com/ministryofjustice/django-form-error-reporting


