djangocms-page-tags

Latest PyPI version Latest Travis CI build status Test coverage

Tagged pages for django CMS 3

Python: 2.7, 3.4, 3.5, 3.6

Django: 1.8 to 1.11

django CMS: 3.4 (and develop/3.5)

Warning

Since version 0.5, the support for Python 2.6, Python 3.3, Django<1.8 and django CMS<3.2 has been dropped

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:

url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),

Execute migration or syncdb:

$ python manage.py syncdb

or:

$ 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/