Skip to content

Latest commit

 

History

History
91 lines (61 loc) · 2.51 KB

README.rst

File metadata and controls

91 lines (61 loc) · 2.51 KB

djangocms-page-tags

Join the Gitter chat Latest PyPI version Python versions Latest CI build status Test coverage Code Climate License

Tagged pages for django CMS 3

Python: 3.7, 3.8, 3.9, 3.10

Django: 2.2, 3.2

django CMS: 3.7 - 3.10

Quickstart

Install djangocms-page-tags:

pip install djangocms-page-tags

Then add it to INSTALLED_APPS along with its dependencies:

"taggit",
"taggit_autosuggest",
"djangocms_page_tags",

Add taggit_autosuggest to urlconf:

path("taggit_autosuggest", include("taggit_autosuggest.urls")),

Execute migration:

$ python manage.py migrate

Usage

You will find two new items in the toolbar Page menu:

  • Title tags (per language)
  • Page tags (global)

These items allows to add tags to Title and Page instances, respectively

Templatetags

djangocms-page-tags allows showing tags using four templatetags

  • include_page_tags
  • include_title_tags
  • page_tags
  • title_tags

Documentation

For further documentation see https://djangocms-page-tags.readthedocs.io/