Registers the Tag model of django-tagging for simple-translation and extends the Tag admin.
Installation
Prerequisites:
Django
django-tagging
simple-translation
If you want to install the latest stable release from PyPi:
$ pip install django-tagging-translated
If you feel adventurous and want to install the latest commit from GitHub:
$ pip install -e git://github.com/bitmazk/django-tagging-translated.git#egg=tagging_translated
Add tagging_translated to your INSTALLED_APPS:
INSTALLED_APPS = (
...,
'tagging_translated',
)
Run the South migrations:
./manage.py migrate tagging_translated
Usage
When you create tags, for example via the Entry admin of cmsplugin-blog, the english translation will be generated automatically. You can use it in your templates like so:
{% load i18n simple_translation_tags %}
{% with tag|get_preferred_translation_from_request:request as tag_title %}
<p>{{ tag_title.trans_name }}</p>
{% endwith %}
Roadmap
Check the issue tracker on github for milestones and features to come.
Metadata
Release files for django-tagging-translated 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-tagging-translated-0.1.tar.gz | 4.5 kB | Without provenance | Details |
Release files / django-tagging-translated-0.1.tar.gz
| Download URL | django-tagging-translated-0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
062afcaa8f6d327d72e7e08f38ca6aa7a04dfe6a40e0ce713f04ba1411b41e59
|
|
BLAKE2b-256 checksum How to use checksums |
7fb7c177f6a827fed9d6f4c83aa9ec5cc32f869014ff8a731ede9032fe0500b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-tagging-translated 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.