Skip to main content

Seo-Meow is a very simple Django app to manage basic SEO tags. https://github.com/utekay/seo-meow

Installation

$ pip install git+https://github.com/utekay/seo-meow.git
# settings.py

INSTALLED_APPS = [
    ...
    'seomeow',
]
$ python manage.py migrate seomeow

Usage

The app looks for the SeoMeow object that matches the current URL. Otherwise it returns the object for “/” which is created automatically.

{% load seomeow %}

<!DOCTYPE html>
<html lang="en">
  <head>
    ...
    {% put_seo_meow_tags_here %}
    ...

Also you can ‘assign’ the SeoMeow object to any model instance via Django admin interface. A hyperlink for editing or creating a related SeoMeow object will be available in the message area after mixin class is added to the admin model.

# admin.py

from django.contrib import admin
from seomeow.admin import SeoMeowShortcut

from .models import News

@admin.register(News)
class NewsAdmin(SeoMeowShortcut, admin.ModelAdmin):
    ...

The model method “get_absolute_url” is required in this case.

# models.py

from django.db import models
from django.core.urlresolvers import reverse

class News(models.Model):
    ...

    def get_absolute_url(self):
        # return "/news/%d/" % self.pk # or
        return reverse("news", args=(self.pk,))

Release files for seo-meow 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seo-meow 0.1
File Size Uploaded
seo-meow-0.1.zip 8.9 kB Details

Release files / seo-meow-0.1.zip

Download URL seo-meow-0.1.zip
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d66bc0fbdfa1de257479ee47ca9869aa897a5743ca7d6440c58f3931254258b8
BLAKE2b-256 checksum
How to use checksums
b511fa17149d863103414a787960815b494cdbff09db53ad12cf3596501ae152
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page