django-autohide-help
====================
django-autohide-help is a jQuery_ plugin packaged as a Django_ app for easy
installation. It's a plugin that allows frontend developers to hide help blocks
generated by `crispy forms`_.
Installation
============
Install using pip::
pip install django-autohide-help
After adding ``autohide_help`` to ``INSTALLED_APPS``, ``autohide-help.js`` will
be avalable at ``{{ STATIC_URL }}js/autohide-help.js``.
If you are using RequireJS_, you can add ``autohide-help`` to dependencies, as
it is packages with RequireJS support.
If you want to use it via a simple script tag, you can add the script tag as
usual::
<script src="{{ STATIC_URL}}js/autohide-help.js``"></script>
This plugin requires jQuery (obviously).
Basic usage
===========
Select a form (or forms), and call ``autohideHelp`` on it::
$('form').autohideHelp()
As user enters the fields the help block is slid out, and slid back in as user
leaves the field.
Using without crispy forms
==========================
Crispy forms are not absolutely required. It is just convenient to use them
since they automatically generate the help blocks.
If you want to use django-autohide-help without the crispy forms, make sure
that your help blocks have an id in the following format: ``help_FIELD_ID``
where ``FIELD_ID`` is the id of the field to which the help block belongs. For
example, if you field has an id of ``id_name``, the help block must have the
id of ``help_id_name``. Future releases of ``django-authide-help`` may make
this configurable.
Reporting bugs
==============
Please report bugs to Bitbucket `issue tracker`_.
.. _jQuery: http://jquery.com/
.. _Django: http://www.djangoproject.com/
.. _crispy forms: http://django-crispy-forms.readthedocs.org/en/d-0/
.. _issue tracker: https://bitbucket.org/brankovukelic/django-autohide-help/issues
Metadata
Release files for django-autohide-help 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-autohide-help-0.0.1.zip | 5.2 kB | Without provenance | Details for django-autohide-help-0.0.1.zip | |
| django-autohide-help-0.0.1.tar.gz | 3.3 kB | Without provenance | Details for django-autohide-help-0.0.1.tar.gz |
Release files / django-autohide-help-0.0.1.zip
| Download URL | django-autohide-help-0.0.1.zip |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b0b1c126bd8a1bf9ca801b0bbd7df94dc0cb43048ff090b99a91a78ee06faef
|
|
BLAKE2b-256 checksum How to use checksums |
af66e9a04b502e4a9a7706b1f75d0b9666030bac2db89ab3a57aa982dcf98247
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django-autohide-help-0.0.1.tar.gz
| Download URL | django-autohide-help-0.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0fbc6d87958086b5d7e23e04cf5d3c7bcfbba9231904f53ac76a7228a1e32d7
|
|
BLAKE2b-256 checksum How to use checksums |
8aca1f5d7d84f6abcc5e0d98aace144c4d13540e06b0b98acb7c7b930d73a426
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-autohide-help 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.