Skip to main content

A framework for managing SEO metadata in Django.

Project description

This is a set of SEO tools for Django. It allows you to associate metadata with:

  • absolute paths

  • model instances

  • model classes

  • views

Metadata can be edited in the admin in a centralised place, but also alongside any associated models.

This is however a framework, not an app. You therefore have complete control over the data you store. Here is an example of a definition:

from rollyourown import seo

class BasicMetadata(seo.Metadata):
    title          = seo.Tag(max_length=68, head=True)
    keywords       = seo.KeywordTag()
    description    = seo.MetaTag(max_length=155)
    heading        = seo.Tag(name="h1")
    subheading     = seo.Tag(name="h2")
    extra          = seo.Raw(head=True)

    # Adding some fields for facebook (opengraph)
    og_title       = seo.MetaTag(name="og:title", populate_from="title", verbose_name="facebook title")
    og_description = seo.MetaTag(name="og:description", populate_from="description", verbose_name='facebook description')

As you can see it is very flexible, but there is much more than this simple example.

The full documentation can be read online at http://django-seo.readthedocs.org/.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

DjangoSEO-1.0.tar.gz (200.6 kB view details)

Uploaded Source

File details

Details for the file DjangoSEO-1.0.tar.gz.

File metadata

  • Download URL: DjangoSEO-1.0.tar.gz
  • Upload date:
  • Size: 200.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for DjangoSEO-1.0.tar.gz
Algorithm Hash digest
SHA256 9e6889f5e28550a90f69ac34e96b811f7afb7627bf221ededae0ac93b35c243e
MD5 69cd65eb3a9d716b5ba067b1a4e63735
BLAKE2b-256 a04453bf0fa00fab3ba594d8755556fad5b2106e22e70442005bcd0f6edabf88

See more details on using hashes here.

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