Django <meta /> tag view mixin
Project description
Installation
$ [sudo] pip install django-meta-tag-view
views.py
from django_meta_tag_view.views import MetaTagMixin
class View(MetaTagMixin,...):
meta_tags = {'robots': 'noindex'}
class View(MetaTagMixin,...):
def get_meta_tags(self):
return {
'description': 'description ...',
'keywords': 'keywords ...'
}
Templates
<head>
{{ meta_tags }}
</head>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-meta-tag-view-2020.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7de55fbf6a2919e20a8a16628895644cd1190841ccb30488d6a1ae7cc866b452 |
|
MD5 | 96417b80180f58af1c647d3dffc0b62e |
|
BLAKE2b-256 | 97fb45a78b016028d19a256962d6029cde58261c30ebbcfa7f6f7711e664d813 |