Skip to main content
=============
django-taggit-forms
=============

.. image:: https://travis-ci.org/akiraakaishi/django-taggit-forms.svg?branch=master
:target: https://travis-ci.org/akiraakaishi/django-taggit-forms

.. image:: https://coveralls.io/repos/akiraakaishi/django-taggit-forms/badge.svg?branch=master
:target: https://coveralls.io/r/akiraakaishi/django-taggit-forms?branch=master

.. image:: https://codeclimate.com/github/akiraakaishi/django-taggit-forms/badges/gpa.svg
:target: https://codeclimate.com/github/akiraakaishi/django-taggit-forms/badges/gpa.svg


``django-taggit-forms`` handles form submissions to create a tag by use of the ``django-taggit`` package.

Usage
======

Add ``'taggit_forms'`` to your ``INSTALLED_APPS``.
(Make sure that ``taggit`` and ``django.contrib.contenttypes`` are also included in ``INSTALLED_APPS``.)
In your root ``urls.py``, include ``'taggit_forms.urls'`` with the namespace ``'taggit_forms'``.

.. code:: python

urlpatterns = patterns('',
# your urls

url(r'^taggit_forms/', include('taggit_forms.urls', namespace='taggit_forms')),
)

Then, create your model to be tagged with:

.. code:: python

class MyModel(models.Model):
tags = TaggableManager()

Then, in your templates, render a tag-creation form for an instance of ``MyModel`` with the template tag ``render_tag_form``::

{% load taggitforms%}
{% render_tag_form my_obj %}

The form is rendered with the template ``taggit_forms/form.html``.

Altenatively, use the template tag ``get_tag_form`` to assign the form as a context variable::

{% get_tag_form my_obj as tag_form %}
{% for field in tag_form %}
{{ field }}
{% endfor %}

Metadata

Release files for django-taggit-forms 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-taggit-forms 0.1.1
File Size Uploaded Provenance Actions
django-taggit-forms-0.1.1.tar.gz 4.8 kB Without provenance Details for django-taggit-forms-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-taggit-forms 0.1.1
File Interpreter ABI Platform Actions
django_taggit_forms-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for django_taggit_forms-0.1.1-py2.py3-none-any.whl

Total release size: 12.5 kB

Release files / django-taggit-forms-0.1.1.tar.gz

Download URL django-taggit-forms-0.1.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0e49c97c83f15d1f91f652857ae8420060441d343b57f218cc5a17dced2e980c
BLAKE2b-256 checksum
How to use checksums
a73f6da4cfa05b6340f8060c705bd28b7a912484904cf46dec6082843002c969
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_taggit_forms-0.1.1-py2.py3-none-any.whl

Download URL django_taggit_forms-0.1.1-py2.py3-none-any.whl
Size 7.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c44288693b92ba50866992dfacc75419898d281906a4d3f9de146136601b8f0a
BLAKE2b-256 checksum
How to use checksums
470d0f8ee4a826d660248e34b951707f9477096bf64dd254391f003858848951
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-taggit-forms 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page