
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
The Django CMS SEO Extension is a simple, flexible, and easy-to-use tool for managing SEO-related meta tags directly from the Django CMS admin interface. This extension provides support for basic meta tags, Open Graph tags, and Twitter Card tags, making it easy to enhance the visibility and social media integration of your website.
Install the package:
You can add the package to your project by running:
pip install djangocms-seo
Add to INSTALLED_APPS
:
Add the extension to your Django settings:
INSTALLED_APPS = [
...,
'cms',
'menus',
'treebeard',
'sekizai',
'djangocms_text_ckeditor',
'djangocms_seo',
]
Apply Migrations:
Run the following commands to apply the necessary migrations:
python manage.py migrate
Sometimes this will throw an error like no table "cms.page"
, if that happens you can just comment 'djangocms_seo'
from your INSTALLED_APPS
and migrate normally to create the necessary djangocms
tables, then uncomment 'djangocms_seo'
and run :
python manage.py migrate djangocms_seo
It should work without issues.
Create Meta Tags:
From the Django CMS admin interface or directly from the CMS toolbar, navigate to the Meta Tags
, Open Graph Meta
, or Twitter Card Meta
sections and create the necessary tags.
Integrating in your template:
Use the seo_meta_tags
template tag in your base template to generate the meta tags dynamically:
<!DOCTYPE html>
{% load seo_tags %}
<html lang="en">
<head>
<meta charset="utf-8" />
...
{% seo_meta_tags %}
Assign Meta Tags to a Page:
Edit a page in the CMS. Under the "Advanced Settings" tab, you will find the fields to add SEO tags. You can select from existing tags or create new ones on the fly.
Extend SEO Functionality:
You can extend the models or admin interface as needed. See the documentation for more details.
Contributions are welcome! Please feel free to submit a pull request or open an issue if you find a bug or have a suggestion.
This project is licensed under the BSD License. See the LICENSE
file for details.
FAQs
A Django CMS extension to manage SEO meta tags for web pages.
We found that djangocms-seo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.