djangocms-page-meta


Namedjangocms-page-meta JSON
Version 1.4.4 PyPI version JSON
download
home_pagehttps://github.com/nephila/djangocms-page-meta
SummaryOpenGraph, Twitter Card and Schema.org snippet tags for django CMS 3 pages
upload_time2024-01-16 11:46:58
maintainer
docs_urlNone
authorIacopo Spalletti
requires_python>=3.9
licenseBSD
keywords django cms meta tags opengraph twitter cards schema.org django-app-enabler addon
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            ===================
djangocms-page-meta
===================

|Gitter| |PyPiVersion| |PyVersion| |GAStatus| |TestCoverage| |CodeClimate| |License|

Meta tag information for django CMS 3 pages

Python: 3.9, 3.10, 3.11

Django: 3.2, 4.1, 4.2

django CMS: 3.9, 3.11


**********
Quickstart
**********

#. 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.

#. 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

#. Then add it to INSTALLED_APPS along with its dependencies::

        "filer",
        "meta",
        "easy_thumbnails",
        "djangocms_page_meta",

#. Migrate the database::

        $ python manage.py migrate

#. Configuration:

   See `usage`_ and `configuration`_ section in the documentation.

#. 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
============

* `django-filer`_
* `django-meta`_

*************
Documentation
*************

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


.. _django-filer: https://pypi.python.org/pypi/django-filer
.. _django-meta: https://pypi.python.org/pypi/django-meta
.. _configuration: https://djangocms-page-meta.readthedocs.io/en/latest/configuration.html
.. _usage: https://djangocms-page-meta.readthedocs.io/en/latest/usage.html
.. _django CMS documentation: https://django-cms.readthedocs.io/en/latest
.. _django-app-enabler: https://github.com/nephila/django-app-enabler


.. |Gitter| image:: https://img.shields.io/badge/GITTER-join%20chat-brightgreen.svg?style=flat-square
    :target: https://gitter.im/nephila/applications
    :alt: Join the Gitter chat

.. |PyPiVersion| image:: https://img.shields.io/pypi/v/djangocms-page-meta.svg?style=flat-square
    :target: https://pypi.python.org/pypi/djangocms-page-meta
    :alt: Latest PyPI version

.. |PyVersion| image:: https://img.shields.io/pypi/pyversions/djangocms-page-meta.svg?style=flat-square
    :target: https://pypi.python.org/pypi/djangocms-page-meta
    :alt: Python versions

.. |GAStatus| image:: https://github.com/nephila/djangocms-redirect/workflows/Tox%20tests/badge.svg
    :target: https://github.com/nephila/djangocms-page-meta
    :alt: Latest CI build status

.. |TestCoverage| image:: https://img.shields.io/coveralls/nephila/djangocms-page-meta/master.svg?style=flat-square
    :target: https://coveralls.io/r/nephila/djangocms-page-meta?branch=master
    :alt: Test coverage

.. |License| image:: https://img.shields.io/github/license/nephila/djangocms-page-meta.svg?style=flat-square
   :target: https://pypi.python.org/pypi/djangocms-page-meta/
    :alt: License

.. |CodeClimate| image:: https://codeclimate.com/github/nephila/djangocms-page-meta/badges/gpa.svg?style=flat-square
   :target: https://codeclimate.com/github/nephila/djangocms-page-meta
   :alt: Code Climate

.. :changelog:

*******
History
*******

.. towncrier release notes start

1.4.4 (2024-01-16)
==================

Features
--------

- Switch to Coveralls Github action (#189)


Bugfixes
--------

- Pin Django CMS version < 4 (#197)


1.4.3 (2023-09-27)
==================

Bugfixes
--------

- Set default_auto_field in AppConfig to avoid migrations problem if DEFAULT_AUTO_FIELD is different (#181)


1.4.2 (2023-09-26)
==================

Bugfixes
--------

- Bump django-meta version, fix settings accordingly (#178)


1.4.1 (2023-09-20)
==================

Features
--------

- Migrate to bump-my-version, fix python/django/djangocms versions in README (#176)


Bugfixes
--------

- Update filer dependency to avoid migration error from 155.feature (#173)


1.4.0 (2023-08-31)
==================

Features
--------

- Add DefaultMetaImage model to handle default meta image (#155)


1.3.0 (2023-08-07)
==================

Features
--------

- Add meta robots (#116)


1.2.0 (2023-05-08)
==================

Features
--------

- Update GH actions / linting configuration (#157)
- Add support for Django 4.2 / django CMS 3.11


1.1.0 (2022-08-27)
==================

Bugfixes
--------

- Skip creating toolbar item in page types (#150)
- Add support for Django 3.2 / django CMS 3.10 (#151)


1.0.1 (2020-12-21)
==================

Features
--------

- Add configuration for django-app-enabler (#141)


1.0.0 (2020-11-18)
==================

Features
--------

- Update tooling and drop Python 2 / Django < 2.2 compatibility (#135)
- Add support for django CMS 3.8 / Django 3.1
- Add support for django-meta 2.0


Bugfixes
--------

- Fix setup.cfg and pyproject.toml package name (#138)

0.10.0 (2019-12-27)
===================

* Move from djangocms-helper to django-app-helper
* Improve toolbar performance

0.9.0 (2019-08-22)
==================

* Add support for django CMS 3.7 / Django 2.2
* Remove support for Django < 1.11 / Python 3.4

0.8.5 (2019-03-22)
==================

* Fix error in migration missing on_delete argument

0.8.4 (2019-03-11)
==================

* Add Django 2.0 and Django 2.1 compatibility
* Add django CMS 3.6 compatibility
* Fixes a crash on creating new pagetype with djangocms 3.5.2

0.8.3 (2018-04-07)
==================

* Remove description when creating a CMS page
* Provide page dates meta if PageMeta does not exists
* Improve compatibility with Django 3.5

0.8.2 (2018-02-22)
==================

* Change method of patching PageAdmin for better compatibility with other addons

0.8.1 (2018-02-17)
==================

* Fix duplicate GenericMetaAttribute on publish
* Fix error on Divio cloud when description fields length is not set

0.8.0 (2018-01-14)
==================

* Add Django 1.11 support
* Add django CMS 3.5 support
* Drop django CMS 3.2, 3.3
* Add support for filer canonical URL
* Do not fail if request is not in context
* Make HTML and twitter description fields length configurable

0.7.0 (2016-12-04)
==================

* Drop Django 1.7 and below
* Drop django CMS 3.1 and below
* Add Django 1.10 support

0.6.3 (2016-10-22)
==================

* Added support for django CMS 3.4

0.6.2 (2016-08-01)
==================

* Conditionally show page description field if not empty

0.6.1 (2016-06-20)
==================

* Drop unique index on generic meta attributes

0.6 (2016-06-05)
================

* Let settings be used as defaults
* Added support for fb_pages attribute
* Added support for generic meta attributes

0.5.11 (2016-03-17)
===================

* Make object type not required

0.5.10 (2016-03-03)
===================

* Fix handling Google+ author URL

0.5.9 (2016-02-25)
==================

* Fix issue with Django 1.9

0.5.8 (2016-02-23)
==================

* Improve Aldryn support
* Catch AttributeError in get_page_meta

0.5.7 (2016-01-09)
==================

* Fix handling of pages in non existing languages
* Add support for Aldryn environment

0.5.6 (2015-10-03)
==================

* Fix error when retrieing tags from djangocms-page-tags
* Add support for django CMS 3.2
* Add support for Django 1.8

0.5.5 (2015-08-21)
==================

* Different approach at fix error when page is None
* Better fallback mechanism
* Update i18n

0.5.4 (2015-08-08)
==================

* Fix error when page is None
* Code cleanup
* Add pep8/isort to tests
* Add missing migration

0.5.3 (2015-06-29)
==================

* Fix Django 1.7 migration
* Update testing configuration

0.5.2 (2015-06-28)
==================

* Compatibility with django CMS 3.1.1

0.5.1 (2015-06-06)
==================

* Make south migrations indipendent from djangocms-helper

0.5 (2015-06-06)
================

* Add support for custom user model
* Fix the length of SEO fields
* Use djangocms-helper for tests
* Add support for Django 1.7
* Add support for django CMS 3.1

0.4.1 (2014-08-10)
==================

* Minor fixes

0.4.0 (2014-04-19)
==================

* django CMS 3 final release support
* Moved some code to external django-meta-mixin application

0.3.3 (2014-03-23)
==================

* Better support for sn-dependent descriptions

0.3.2 (2014-03-07)
==================

* Add different descriptions for each supported social network

0.3.1 (2014-02-13)
==================

* Fix permission name

0.3.0 (2014-02-02)
==================

* Fix for django CMS 3 develop update

0.2.1 (2014-01-26)
==================

* Vendorizing django-meta compatibility templatetags

0.2.0 (2014-01-22)
==================

* Put toolbar menu items in a submenu

0.1.0 (2014-01-21)
==================

* Experimental release.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nephila/djangocms-page-meta",
    "name": "djangocms-page-meta",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "django cms,meta tags,OpenGraph,Twitter Cards,Schema.org,django-app-enabler addon",
    "author": "Iacopo Spalletti",
    "author_email": "i.spalletti@nephila.digital",
    "download_url": "https://files.pythonhosted.org/packages/c3/73/71907e0107ef866a67911b07e8f330310e1ee6d2d05222c179224f4eb71e/djangocms-page-meta-1.4.4.tar.gz",
    "platform": null,
    "description": "===================\ndjangocms-page-meta\n===================\n\n|Gitter| |PyPiVersion| |PyVersion| |GAStatus| |TestCoverage| |CodeClimate| |License|\n\nMeta tag information for django CMS 3 pages\n\nPython: 3.9, 3.10, 3.11\n\nDjango: 3.2, 4.1, 4.2\n\ndjango CMS: 3.9, 3.11\n\n\n**********\nQuickstart\n**********\n\n#. 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.\n\n#. Install djangocms-page-meta::\n\n        $ pip install djangocms-page-meta\n\n   or from the repository::\n\n        pip install -e git+https://github.com/nephila/djangocms-page-meta#egg=djangocms-page-meta\n\n#. Then add it to INSTALLED_APPS along with its dependencies::\n\n        \"filer\",\n        \"meta\",\n        \"easy_thumbnails\",\n        \"djangocms_page_meta\",\n\n#. Migrate the database::\n\n        $ python manage.py migrate\n\n#. Configuration:\n\n   See `usage`_ and `configuration`_ section in the documentation.\n\n#. That's all!\n\n.. note:: Enabling this will **hide** django CMS own **Meta description** field to keep all the meta\n          information in the same part of the interface. If the django CMS field is set, it will still\n          be shown (and used by djangocms-page-meta).\n\n**************************\ndjango-app-enabler support\n**************************\n\n`django-app-enabler`_ is supported.\n\nYou can either\n\n* Installation & configuration: ``python -mapp_enabler install djangocms-page-meta``\n* Autoconfiguration: ``python -mapp_enabler enable djangocms_page_meta``\n\nFully using this package will require some template changes that cannot be modified by ``django-app-enabler``:\n\n* Load template tag in the page like outlined in `usage`_ page;\n* Run migrations: ``python manage.py migrate``\n\nCheck `usage`_ documentation for details.\n\nDependencies\n============\n\n* `django-filer`_\n* `django-meta`_\n\n*************\nDocumentation\n*************\n\nFor package documentation see https://djangocms-page-meta.readthedocs.io/.\n\n\n.. _django-filer: https://pypi.python.org/pypi/django-filer\n.. _django-meta: https://pypi.python.org/pypi/django-meta\n.. _configuration: https://djangocms-page-meta.readthedocs.io/en/latest/configuration.html\n.. _usage: https://djangocms-page-meta.readthedocs.io/en/latest/usage.html\n.. _django CMS documentation: https://django-cms.readthedocs.io/en/latest\n.. _django-app-enabler: https://github.com/nephila/django-app-enabler\n\n\n.. |Gitter| image:: https://img.shields.io/badge/GITTER-join%20chat-brightgreen.svg?style=flat-square\n    :target: https://gitter.im/nephila/applications\n    :alt: Join the Gitter chat\n\n.. |PyPiVersion| image:: https://img.shields.io/pypi/v/djangocms-page-meta.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/djangocms-page-meta\n    :alt: Latest PyPI version\n\n.. |PyVersion| image:: https://img.shields.io/pypi/pyversions/djangocms-page-meta.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/djangocms-page-meta\n    :alt: Python versions\n\n.. |GAStatus| image:: https://github.com/nephila/djangocms-redirect/workflows/Tox%20tests/badge.svg\n    :target: https://github.com/nephila/djangocms-page-meta\n    :alt: Latest CI build status\n\n.. |TestCoverage| image:: https://img.shields.io/coveralls/nephila/djangocms-page-meta/master.svg?style=flat-square\n    :target: https://coveralls.io/r/nephila/djangocms-page-meta?branch=master\n    :alt: Test coverage\n\n.. |License| image:: https://img.shields.io/github/license/nephila/djangocms-page-meta.svg?style=flat-square\n   :target: https://pypi.python.org/pypi/djangocms-page-meta/\n    :alt: License\n\n.. |CodeClimate| image:: https://codeclimate.com/github/nephila/djangocms-page-meta/badges/gpa.svg?style=flat-square\n   :target: https://codeclimate.com/github/nephila/djangocms-page-meta\n   :alt: Code Climate\n\n.. :changelog:\n\n*******\nHistory\n*******\n\n.. towncrier release notes start\n\n1.4.4 (2024-01-16)\n==================\n\nFeatures\n--------\n\n- Switch to Coveralls Github action (#189)\n\n\nBugfixes\n--------\n\n- Pin Django CMS version < 4 (#197)\n\n\n1.4.3 (2023-09-27)\n==================\n\nBugfixes\n--------\n\n- Set default_auto_field in AppConfig to avoid migrations problem if DEFAULT_AUTO_FIELD is different (#181)\n\n\n1.4.2 (2023-09-26)\n==================\n\nBugfixes\n--------\n\n- Bump django-meta version, fix settings accordingly (#178)\n\n\n1.4.1 (2023-09-20)\n==================\n\nFeatures\n--------\n\n- Migrate to bump-my-version, fix python/django/djangocms versions in README (#176)\n\n\nBugfixes\n--------\n\n- Update filer dependency to avoid migration error from 155.feature (#173)\n\n\n1.4.0 (2023-08-31)\n==================\n\nFeatures\n--------\n\n- Add DefaultMetaImage model to handle default meta image (#155)\n\n\n1.3.0 (2023-08-07)\n==================\n\nFeatures\n--------\n\n- Add meta robots (#116)\n\n\n1.2.0 (2023-05-08)\n==================\n\nFeatures\n--------\n\n- Update GH actions / linting configuration (#157)\n- Add support for Django 4.2 / django CMS 3.11\n\n\n1.1.0 (2022-08-27)\n==================\n\nBugfixes\n--------\n\n- Skip creating toolbar item in page types (#150)\n- Add support for Django 3.2 / django CMS 3.10 (#151)\n\n\n1.0.1 (2020-12-21)\n==================\n\nFeatures\n--------\n\n- Add configuration for django-app-enabler (#141)\n\n\n1.0.0 (2020-11-18)\n==================\n\nFeatures\n--------\n\n- Update tooling and drop Python 2 / Django < 2.2 compatibility (#135)\n- Add support for django CMS 3.8 / Django 3.1\n- Add support for django-meta 2.0\n\n\nBugfixes\n--------\n\n- Fix setup.cfg and pyproject.toml package name (#138)\n\n0.10.0 (2019-12-27)\n===================\n\n* Move from djangocms-helper to django-app-helper\n* Improve toolbar performance\n\n0.9.0 (2019-08-22)\n==================\n\n* Add support for django CMS 3.7 / Django 2.2\n* Remove support for Django < 1.11 / Python 3.4\n\n0.8.5 (2019-03-22)\n==================\n\n* Fix error in migration missing on_delete argument\n\n0.8.4 (2019-03-11)\n==================\n\n* Add Django 2.0 and Django 2.1 compatibility\n* Add django CMS 3.6 compatibility\n* Fixes a crash on creating new pagetype with djangocms 3.5.2\n\n0.8.3 (2018-04-07)\n==================\n\n* Remove description when creating a CMS page\n* Provide page dates meta if PageMeta does not exists\n* Improve compatibility with Django 3.5\n\n0.8.2 (2018-02-22)\n==================\n\n* Change method of patching PageAdmin for better compatibility with other addons\n\n0.8.1 (2018-02-17)\n==================\n\n* Fix duplicate GenericMetaAttribute on publish\n* Fix error on Divio cloud when description fields length is not set\n\n0.8.0 (2018-01-14)\n==================\n\n* Add Django 1.11 support\n* Add django CMS 3.5 support\n* Drop django CMS 3.2, 3.3\n* Add support for filer canonical URL\n* Do not fail if request is not in context\n* Make HTML and twitter description fields length configurable\n\n0.7.0 (2016-12-04)\n==================\n\n* Drop Django 1.7 and below\n* Drop django CMS 3.1 and below\n* Add Django 1.10 support\n\n0.6.3 (2016-10-22)\n==================\n\n* Added support for django CMS 3.4\n\n0.6.2 (2016-08-01)\n==================\n\n* Conditionally show page description field if not empty\n\n0.6.1 (2016-06-20)\n==================\n\n* Drop unique index on generic meta attributes\n\n0.6 (2016-06-05)\n================\n\n* Let settings be used as defaults\n* Added support for fb_pages attribute\n* Added support for generic meta attributes\n\n0.5.11 (2016-03-17)\n===================\n\n* Make object type not required\n\n0.5.10 (2016-03-03)\n===================\n\n* Fix handling Google+ author URL\n\n0.5.9 (2016-02-25)\n==================\n\n* Fix issue with Django 1.9\n\n0.5.8 (2016-02-23)\n==================\n\n* Improve Aldryn support\n* Catch AttributeError in get_page_meta\n\n0.5.7 (2016-01-09)\n==================\n\n* Fix handling of pages in non existing languages\n* Add support for Aldryn environment\n\n0.5.6 (2015-10-03)\n==================\n\n* Fix error when retrieing tags from djangocms-page-tags\n* Add support for django CMS 3.2\n* Add support for Django 1.8\n\n0.5.5 (2015-08-21)\n==================\n\n* Different approach at fix error when page is None\n* Better fallback mechanism\n* Update i18n\n\n0.5.4 (2015-08-08)\n==================\n\n* Fix error when page is None\n* Code cleanup\n* Add pep8/isort to tests\n* Add missing migration\n\n0.5.3 (2015-06-29)\n==================\n\n* Fix Django 1.7 migration\n* Update testing configuration\n\n0.5.2 (2015-06-28)\n==================\n\n* Compatibility with django CMS 3.1.1\n\n0.5.1 (2015-06-06)\n==================\n\n* Make south migrations indipendent from djangocms-helper\n\n0.5 (2015-06-06)\n================\n\n* Add support for custom user model\n* Fix the length of SEO fields\n* Use djangocms-helper for tests\n* Add support for Django 1.7\n* Add support for django CMS 3.1\n\n0.4.1 (2014-08-10)\n==================\n\n* Minor fixes\n\n0.4.0 (2014-04-19)\n==================\n\n* django CMS 3 final release support\n* Moved some code to external django-meta-mixin application\n\n0.3.3 (2014-03-23)\n==================\n\n* Better support for sn-dependent descriptions\n\n0.3.2 (2014-03-07)\n==================\n\n* Add different descriptions for each supported social network\n\n0.3.1 (2014-02-13)\n==================\n\n* Fix permission name\n\n0.3.0 (2014-02-02)\n==================\n\n* Fix for django CMS 3 develop update\n\n0.2.1 (2014-01-26)\n==================\n\n* Vendorizing django-meta compatibility templatetags\n\n0.2.0 (2014-01-22)\n==================\n\n* Put toolbar menu items in a submenu\n\n0.1.0 (2014-01-21)\n==================\n\n* Experimental release.\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "OpenGraph, Twitter Card and Schema.org snippet tags for django CMS 3 pages",
    "version": "1.4.4",
    "project_urls": {
        "Documentation": "https://djangocms-page-meta.readthedocs.io/",
        "Homepage": "https://github.com/nephila/djangocms-page-meta"
    },
    "split_keywords": [
        "django cms",
        "meta tags",
        "opengraph",
        "twitter cards",
        "schema.org",
        "django-app-enabler addon"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cf0c81bc5e52baa40d7d64efab667bb8d53e34e6838e0efc68413e07b733bef4",
                "md5": "34ec5aa5b484cf0a0af6cad548a4ea04",
                "sha256": "5ed3f4224a4372ffc7ca47baa73f7abc30326649ee67e1ee290456baa776ad7c"
            },
            "downloads": -1,
            "filename": "djangocms_page_meta-1.4.4-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "34ec5aa5b484cf0a0af6cad548a4ea04",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.9",
            "size": 55724,
            "upload_time": "2024-01-16T11:46:57",
            "upload_time_iso_8601": "2024-01-16T11:46:57.214288Z",
            "url": "https://files.pythonhosted.org/packages/cf/0c/81bc5e52baa40d7d64efab667bb8d53e34e6838e0efc68413e07b733bef4/djangocms_page_meta-1.4.4-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c37371907e0107ef866a67911b07e8f330310e1ee6d2d05222c179224f4eb71e",
                "md5": "6cfc6f65501ac4171473b44ea4e1fd5f",
                "sha256": "2401f52035ae8519d60cdf4136dc9bc5098fd27d56bb0d274036d0831824439c"
            },
            "downloads": -1,
            "filename": "djangocms-page-meta-1.4.4.tar.gz",
            "has_sig": false,
            "md5_digest": "6cfc6f65501ac4171473b44ea4e1fd5f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 35794,
            "upload_time": "2024-01-16T11:46:58",
            "upload_time_iso_8601": "2024-01-16T11:46:58.518506Z",
            "url": "https://files.pythonhosted.org/packages/c3/73/71907e0107ef866a67911b07e8f330310e1ee6d2d05222c179224f4eb71e/djangocms-page-meta-1.4.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-16 11:46:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nephila",
    "github_project": "djangocms-page-meta",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "djangocms-page-meta"
}
        
Elapsed time: 0.19743s