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 details)

Uploaded Source

Built Distribution

File details

Details for the file django-admin-taggit-ui-0.1.dev0.tar.gz.

File metadata

File hashes

Hashes for django-admin-taggit-ui-0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 bf4e2ac7dfc6af2d9befea09e81c5c56b19ece605916ba7725dadb195aee2b46
MD5 551b6f800e99fc56f3a554c72c25b66f
BLAKE2b-256 e70669a7f8012ecb3596f0df130ac3698ebd864839bfa66c92ca70ac7d0a888e

See more details on using hashes here.

Provenance

File details

Details for the file django_admin_taggit_ui-0.1.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_admin_taggit_ui-0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 918017acdd0c937c93e4e50be51bc0e107a94756df43868bbcd5022a4c7b38d9
MD5 b522ec3a357ecde4476f29e239fb7887
BLAKE2b-256 02f45a022863f3437819268784ced09b8f327449de7f2c1deebee507af6f62c5

See more details on using hashes here.

Provenance

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