Skip to main content

Pluggable app for handling webpage meta tags and OpenGraph properties

Project description

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

This pluggable app allows Django developers to quickly add meta tags and OpenGraph, Twitter, and Schema.org properties to their HTML responses.

Installation

See https://django-meta.readthedocs.io/en/latest/installation.html

Supported versions

Django

2.2 to 3.1 (newer versions might work but are not tested yet)

Python

Python 3.5 to 3.8

Basic concept

django-meta provides a view-method and model-method interface to provide and handle meta informations

For more details check documentation.

Authors and Contributors

django-meta has been started by Branko Vukelic.

Current maintainer: Iacopo Spalletti

See AUTHORS file for the complete list of contributors

Apps using django-meta / extensions

See third_party_apps

Reporting bugs

Please report all bugs to our Github issue tracker.

History

2.0.0 (2020-11-14)

Features

  • Drop Python 2 (#118)

  • Drop Django<2.2 (#118)

  • Add Django 3.1 (#118)

  • Update tooling (#118)

  • Port to github-actions (#118)

  • Remove G+ support - Replace with Schema.org (#108)

  • Add support for image object (#114)

Bugfixes

  • Switch request handling to thread locals (#115)

1.7.0 (2020-07-07)

  • Fixed support for secure_url

  • Normalized twitter_card / twitter_type attributes

1.6.1 (2020-01-16)

  • Added explicit dependency on six

  • Added python 3.8

1.6.0 (2019-12-22)

  • Added Django 3.0 support

  • Moved to django-app-helper

  • Improved documentation regarding extra / custom props

1.5.2 (2019-07-02)

  • Added image size for facebook sharing

1.5.1 (2019-04-11)

  • Fixed error if the property referenced in _metadata returns False

1.5.0 (2019-03-23)

  • Added support for Django 2.1 and 2.2

  • Added support for Python 3.7

  • Dropped support for Django < 1.11

  • Dropped support for Python 3.4

  • Fixed support for og:image:secure_url

  • Fixed minor documentation error

  • Added support for service-specific titles

1.4.1 (2018-01-21)

  • Added Django 2.0 support

  • Fixed RTD builds

  • Fixed MetadataMixin.use_use_title_tag typo

  • Add request to Meta arguments

1.4.0 (2017-08-12)

  • Add Django 1.11 support

  • Drop python 2.6/ Django<1.8

  • Wrap meta.html content in spaceless templatetag to suppress redundant newlines

  • Fix issue in Django 1.10

1.3.2 (2016-10-26)

  • Fix error if custom_meta_extras is empty

  • Fix twitter properties

  • Fix error with META_DEFAULT_IMAGE path

1.3.1 (2016-08-01)

  • Add support for G+ publisher tag

1.3 (2016-06-06)

  • Added support for fb_pages attribute

  • Properly implement META_DEFAULT_IMAGE for view-based mixins

  • Fixed error in facebook_prop templatetag

  • Removed dependency of sites framework

1.2 (2016-04-09)

  • Fix issue when emulating sekizai

1.1 (2016-04-08)

  • Sekizai is not required anymore

1.0 (2016-03-29)

  • Merge with django-meta-mixin

  • Reorganized documentation

  • Remove deprecated make_full_url method

  • Add _retrieve_data interface for generic attribute data generation

0.3.2 (2016-02-09)

  • Use autoescape off in template for Django 1.9

0.3.1 (2015-06-27)

  • Bump for re-upload

0.3.0 (2015-06-27)

  • Add support for more twitter attributes

  • Add support for more facebook attributes

  • Official support for Django 1.4->1.8

  • Official support for Python 2.6, 2.7, 3.2, 3.3, 3.4

0.2.1 (2014-12-15)

  • Add support for more attributes

  • Add templatetag to handle generic attributes

0.2.0 (2014-05-28)

  • Code cleanup

  • Change maintainership information

  • Official Python 3 support

0.1.0 (2014-01-20)

  • Support for Twitter meta data (leifdenby)

  • Fixes to OpenGraph tags (leifdenby)

  • Support Google Plus tags (Iacopo Spalletti)

0.0.3 (2013-11-12)

  • Keywords are now order-preserving

  • Keywords are no longer a set(), but a normal list

0.0.2 (2013-04-12)

  • Fixed keywords not being included in metadata

  • Fixed get_meta_class not being used in the mixin

0.0.1 (2013-04-04)

  • Initial version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-meta-2.0.0.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

django_meta-2.0.0-py2.py3-none-any.whl (23.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-meta-2.0.0.tar.gz.

File metadata

  • Download URL: django-meta-2.0.0.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for django-meta-2.0.0.tar.gz
Algorithm Hash digest
SHA256 3d69068b1c9e8369427fe0843f4cb6974c24c27dc87750cd915db487ee475fce
MD5 e88657bfd5a03b72975c94c55426e04c
BLAKE2b-256 a1dbe4cadf675b799df538c2eb9392f7cdc4fcae4b7dbcee7f37aa3fdbbb87ba

See more details on using hashes here.

Provenance

File details

Details for the file django_meta-2.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: django_meta-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for django_meta-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 25010157000fa2f1d1ed46e8739f43cfe00e40af199d913b230e52133b650da5
MD5 d9a9ed51114c48f8176b222d7b2e5467
BLAKE2b-256 0cd151c39c54ec64841042dca234cd97d3f48e1c994f938b796c12040c3c1ba3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page