Skip to main content

Filter and action to work with tags in the django-admin-backend.

Project description

Description

This app provides a tag-filter and an admin-action to handle tags created with taggit within the django admin backend.

Installation

Install from pypi.org:

pip install django-admin-taggit-ui

Add more_admin_filters to your installed apps:

INSTALLED_APPS = [
    'taggit_ui',
    ...
]

Add the TagFilter and manage_tag action to your ModelAdmin:

from taggit_ui.filters import TagFilter
from taggit_ui.actions import manage_tags

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

Extend your url_patterns in urls.py:

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

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-admin-taggit-ui-0.1.dev0.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

django_admin_taggit_ui-0.1.dev0-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

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