django-tagify
A django tag input field using Tagify built for Django 2.0. The tags are stored as a comma-delimited (unless if changed) String.
Usage
Models: Use TagsField to represent a tags field.
Forms: Make sure you display form.media in the html template, for the widget to render correctly.
Widget settings: Pass the settings dictionary as follows TagsField(widget_settings={...}.
You can specify if ‘duplicates’ are allowed (boolean).
You can specify ‘autocomplete’ (boolean) - this matches from the whitelist.
You can specify ‘enforceWhitelist’ (boolean).
You can specify ‘maxTags’ (int).
You can specify the ‘whitelist’ (list containing strings).
You can specify the ‘blacklist’ (list containing strings).
You can specify the ‘delimiter’ (string).
You can specify the RegEx ‘pattern’ to validate the input (string).
If you want to allow blank inputs for tags make sure you set blank=True on TagsField. If blank inputs are allowed, they will not be filtered by the whitelist.
Note: If you use TagsField in a Form, then Form.is_valid() will automatically verify that its values conform to those specify in its settings, to prevent malicious behaviour from end users.
Installation
Install the module
pip install django-tagify
Add django_tagify to your INSTALLED_APPS setting in the Django settings.py.
Example:
INSTALLED_APPS = ( # ...other installed apps 'django_tagify', )
Metadata
Release files for django-tagify 0.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-tagify-0.20.tar.gz | 19.2 kB | Without provenance | Details |
Release files / django-tagify-0.20.tar.gz
| Download URL | django-tagify-0.20.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d7c58be3789a19eae67c2f9d5788c442269ed79419c2fdf918d359cfef97c7d
|
|
BLAKE2b-256 checksum How to use checksums |
c20b4507f03e6b2f4a6611d64e157fc4c35860955c2b0ac4df5dd9652a8391d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-tagify 0.20
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.