Tagged pages for django CMS 3
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
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
djangocms-page-tags
allows showing tags using four templatetags
include_page_tags
include_title_tags
page_tags
title_tags
For further documentation see http://djangocms-page-tags.readthedocs.org/