🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

django-meta-tag-view

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-meta-tag-view

Django <meta /> tag view mixin

2020.7.1
PyPI
Maintainers
1

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>

readme42.com

Keywords

django meta

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts