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
class ReportedForm(GAErrorReportingMixin, Form):
ga_tracking_id = 'UA-12345678-0'
...
Development
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
publishing a release in GitHub (this triggers a GitHub Actions workflow to automatically upload it).
Alternatively, run python setup.py sdist bdist_wheel upload
locally.
Copyright
Copyright (C) 2020 HM Government (Ministry of Justice Digital & Technology). See LICENSE.txt for further details.