django-seo

SEO fields for Django
Download

django-seo Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freely Distributable
  • Price:
  • FREE
  • Publisher Name:
  • Alexander Ivanov
  • Publisher web site:
  • http://redsolution.ru

django-seo Tags


django-seo Description

SEO fields for Django django-seo is a Django app that adds SEO fields.Installation:1. Put ``seo`` as LAST item to your ``INSTALLED_APPS`` in your ``settings.py`` within your django project.2. Sync your database:: ./manage.py syncdbUsage:In settings.py:Add names of ModelAdmins to be override:: SEO_FOR_MODELS = In template:First of all, load the seo_tags in every template you want to use it:: {% load seo_tags %}Use:: {% show_seo < title|keywords|description > for < object > %}Or:: {% get_seo < title|keywords|description > for < object > as < variable > %} {{ < variable > }}Example:``settings.py``:: INSTALLED_APPS = ( ... 'seo', ) SEO_FOR_MODELS = ``templates/object.html``:: {% load seo_tags %} < html > < head > {% show_seo title for item %} {% show_seo keywords for item %} {% show_seo description for item %} < /head > < body > {{ item.content }} {% get_seo title for item as seo_title %} < h1 >{{ seo_title }}< /h1 > < /body > < /html > Requirements: · Python · Django


django-seo Related Software