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.

Files for django-taggit-anywhere, version 0.1.4
Filename, size & hash File type Python version Upload date
django_taggit_anywhere-0.1.4-py2.py3-none-any.whl (5.0 kB) View hashes Wheel 3.7
django-taggit-anywhere-0.1.4.tar.gz (4.5 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page