Skip to main content

django-taggit with easy

Project description

django-taggit-anywhere

Even more simpler approach to tagging with django-taggit. Additionally this project provides easy-to-use integration with django-taggit-helpers and django-taggit-labels

https://img.shields.io/pypi/v/django-taggit-anywhere.svg https://img.shields.io/pypi/dm/django-taggit-anywhere.svg https://img.shields.io/github/license/bashu/django-taggit-anywhere.svg

Requirements

You must have django-taggit installed and configured, see the django-taggit documentation for details and setup instructions.

Installation

First install the module, preferably in a virtual environment. It can be installed from PyPI:

pip install django-taggit-anywhere

Setup

Make sure the project is configured for django-taggit.

You’ll need to add taggit_anywhere as a LAST item to INSTALLED_APPS in your project’s settings.py file:

INSTALLED_APPS = (
    ...
    # optional integration with django-taggit-helpers
    'taggit_helpers',  # pip install django-taggit-helpers

    # optional integration with django-taggit-labels
    'taggit_labels',  # pip install django-taggit-labels

    'taggit_anywhere',  # must be last in a list
)

There is only one mandatory configuration option you need to set in your settings.py:

TAGGIT_FOR_MODELS = [
    '<app_name>.<model_name>',
]

Please see example application. This application is used to manually test the functionalities of this package. This also serves as good example…

You need Django 1.8 or above to run that. It might run on older versions but that is not tested.

Contributing

If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-taggit-anywhere-0.1.4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

django_taggit_anywhere-0.1.4-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-taggit-anywhere-0.1.4.tar.gz.

File metadata

File hashes

Hashes for django-taggit-anywhere-0.1.4.tar.gz
Algorithm Hash digest
SHA256 33bc7495e720ced550d21ec34dd7d8119eef65e9b1bef77003b370277c3eba55
MD5 c54d84613f8d3f7cbc21f3561b18e2eb
BLAKE2b-256 3ff404d84f82e2191552bc9d6b755f65041116903ea8a91d59d94da6c31f6aa9

See more details on using hashes here.

File details

Details for the file django_taggit_anywhere-0.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_taggit_anywhere-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4e320ec6ebc4a388a8da36fbc4835a1ef1d3498fd0cd5a9d284fbe8e126b9445
MD5 2e2fa694848c36e904c001bee5038cd4
BLAKE2b-256 1bdb8b28a27e82b2eca096662be1d7409a6240155b4018cdebb5022cce75ee68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page