django-taggit with easy
Project description
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
Installation
First install the module, preferably in a virtual environment. It can be installed from PyPI:
pip install django-taggit-anywhere
Requirements
You must have django-taggit installed and configured, see the django-taggit documentation for details and setup instructions.
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. :-)
License
django-taggit-anywhere is released under the MIT license.
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
Built Distribution
Hashes for django-taggit-anywhere-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dad5b045c10540b90c710d738ba13e98f038bd35fefd0e4a689643d8bc5b86e |
|
MD5 | 904ae83d8090d0813a8929462b76f271 |
|
BLAKE2b-256 | 237b85cbe8600346c8aa0785b0280f566fc316349e9338a409201c3d3ee5a68a |
Hashes for django_taggit_anywhere-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3a11722dbf3eebcb6fef5ad046412019766b383d2450b370f75c5a0e00aaf7 |
|
MD5 | 8c2a20ed9e6ffe96aa4d16f37344d561 |
|
BLAKE2b-256 | 9f0414bf0f8532b1c2e92a31f9622ac9e6e1384f4d1f868f1403e99befa1364a |