django-htmlmeta 0.1.0
Django app providing simple translatable HTML meta tags system
Downloads ↓ | Package Documentation
GitHub repository: http://github.com/mikoskay/django-htmlmeta
Summary
django-htmlmeta is a package providing easy, internationalizable META tags administration for your website.
Required Django version is 1.2 or newer.
Installation
Just:
$ pip install django-htmlmeta
or:
$ easy_install django-htmlmeta django-translatable
The only requirement apart from Django itself is django-translatable package.
Usage
After installation add 'htmlmeta' to you INSTALLED_APPS setting:
INSTALLED_APPS = (
# ...
'htmlmeta',
)
You also need to set your LANGUAGE setting. See: http://docs.djangoproject.com/en/1.2/ref/settings/#languages
Now create required database tables:
$ ./manage.py syncdb
Include htmlmeta_tags tag library to your template:
{% load htmlmeta_tags %}
And in the HEAD section of your template place the htmlmeta tag:
<head>
<meta charset="utf-8" />
{% htmlmeta %}
<title>Some title</title>
</head>
Now go to HTMLMETA app in your admin panel and add your tags!
Author and license
Copyright (c) 2011 Mikołaj Siedlarek <mikolaj.siedlarek at gmail.com>
Distributed on terms of 3-clause BSD license (AKA New BSD License or Modified BSD License). Do you know the Django BSD license? It's same.
For details conslut LICENSE.txt file.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| django-htmlmeta-0.1.0.tar.gz (md5) | Source | 2011-04-02 | 8KB | 336 | |
- Author: MikoÅaj Siedlarek
- Documentation: django-htmlmeta package documentation
- Home Page: https://github.com/mikoskay/django-htmlmeta
- License: BSD License
- Platform: OS Independent
- Categories
- Package Index Owner: Mikoskay
- DOAP record: django-htmlmeta-0.1.0.xml
