Skip to main content
python: 3.8, 3.9, 3.10,3.11,3.12,3.13 django: 3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 5.0, 5.1,5.2,6.0 Run tests for django-admin-taggit-ui Coveralls

Description

This app is build in top of django-taggit and provides a tag-filter and an admin-action to handle tags with ease within django’s admin backend.

Tag-Filter

The tag filter allows you to include and exclude mutliple tags as well as easily deleting tags.

Admin-Action

The admin action allows you to easily add and remove tags from objects.

Installation

Install from pypi.org:

pip install django-admin-taggit-ui

Setup

Add more_admin_filters to your installed apps:

INSTALLED_APPS = [
    'taggit_ui',
    ...
]

Extend your url_patterns in urls.py:

urlpatterns = [
    ...
    url(r'^', include('taggit_ui.urls')),
]

Add the TagFilter and manage_tag action to your ModelAdmin:

from taggit_ui.filters import TagFilter
from taggit_ui.actions import tag_manager

class MyModelAdmin(admin.ModelAdmin):
    ...
    list_filter = [
        TagFilter,
        ...
    ]
    actions = [
        tag_manager,
        ...
    ]

It is possible to optionally tag related items of other models using the admin action. Therefore initialize the TagManager` class with a ModelTree:

from taggit_ui.actions import TagManager
from modeltree import ModelTree

class MyModelAdmin(admin.ModelAdmin):
    ...
    actions = [
        TagManager(ModelTree),
        ...
    ]

The admin action will then render its form with all taggible related Models as checkbox fields and the count of related items belonging to these models.

Release files for django-admin-taggit-ui 1.3

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-admin-taggit-ui 1.3
File Size Uploaded
django_admin_taggit_ui-1.3.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-admin-taggit-ui 1.3
File Interpreter ABI Platform
django_admin_taggit_ui-1.3-py3-none-any.whl Python 3 none any Details

Total release size: 18.6 kB

Release files / django_admin_taggit_ui-1.3.tar.gz

Download URL django_admin_taggit_ui-1.3.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d4211517d30460cabe550b61353287ef9605ba9d0f4c00d6441ff3b9dcbf63f0
BLAKE2b-256 checksum
How to use checksums
ea9989ff82ea3bcfadad901ca8bc66d7404b29cd56239e4957f3f86790642f19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release files / django_admin_taggit_ui-1.3-py3-none-any.whl

Download URL django_admin_taggit_ui-1.3-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70c95351f1f43ca75709c274a9a3db756d5ed042351ca11ebd5d23979f9c5f87
BLAKE2b-256 checksum
How to use checksums
3b2748bffc4321a04937ab8fbc106d4fca58aaa6764f283572aec9d8d4431620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.3 This release

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

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