Skip to content

Latest commit

 

History

History
120 lines (77 loc) · 3.76 KB

README.rst

File metadata and controls

120 lines (77 loc) · 3.76 KB

djangocms-page-meta

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

Meta tag information for django CMS 3 pages

Python: 3.6, 3.7, 3.8

Django: 2.2, 3.0, 3.1

django CMS: 3.7, 3.8

Quickstart

  1. A working django CMS environment is required for djangocms-page-meta to work. Refer to django CMS documentation for how to install and configure django CMS.

  2. Install djangocms-page-meta:

    $ pip install djangocms-page-meta
    

    or from the repository:

    pip install -e git+https://github.com/nephila/djangocms-page-meta#egg=djangocms-page-meta
    
  3. Then add it to INSTALLED_APPS along with its dependencies:

    'filer',
    'meta',
    'easy_thumbnails',
    'djangocms_page_meta',
    
  4. Synchronize the database:

    $ python manage.py syncdb
    

    or migrate:

    $ python manage.py migrate
    
  5. Configuration:

    See usage and configuration section in the documentation.

  6. That's all!

Note

Enabling this will hide django CMS own Meta description field to keep all the meta information in the same part of the interface. If the django CMS field is set, it will still be shown (and used by djangocms-page-meta).

django-app-enabler support

django-app-enabler is supported.

You can either

  • Installation & configuration: python -mapp_enabler install djangocms-page-meta
  • Autoconfiguration: python -mapp_enabler enable djangocms_page_meta

Fully using this package will require some template changes that cannot be modified by django-app-enabler:

  • Load template tag in the page like outlined in usage page;
  • Run migrations: python manage.py migrate

Check usage documentation for details.

Dependencies

Documentation

For package documentation see https://djangocms-page-meta.readthedocs.io/.