Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Django app that simply provides unihandecode.js (https://github.com/ojii/unihandecode.js) out of box to be used along side with Django CMS.

Project Description

A Django app that simply provides unihandecode.js (https://github.com/ojii/unihandecode.js) out of box to be used along side with Django CMS.

Installation

To get started using django-unihandecodejs:

  • install it with pip:

    $ pip install django-unihandecodejs
    
  • add the app to INSTALLED_APPS:

    INSTALLED_APPS = (
        ...
        'unihandecodejs',
        ...
    )
    

Usage

This app does nothing excepts injecting unihandecode.js as static files into your Django project. No specific usage is needed.

Most people just need unihandecode.js for their Django CMS project as they have East Asian languages on their sites. Due to licence issue, unihandecode.js isn’t included in Django CMS. You have to download and throw the codes of unihandecode.js into your project’s static file folder, which becomes a tedious step of each Django CMS site’s setup phase. That’s why this app is created: a simple pip install to replace download and copy.

Since this app is mainly used for Django CMS project, please refer to http://docs.django-cms.org/en/latest/reference/configuration.html#unicode-support-for-automated-slugs for configuration. For the impatient, just add the below lines into your settings.py:

CMS_UNIHANDECODE_HOST = '%sunihandecodejs/' % STATIC_URL

CMS_UNIHANDECODE_VERSION = '1.0.0'

CMS_UNIHANDECODE_DECODERS = ['zh'] #Change to your desired language list
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-unihandecodejs-0.1.0.tar.gz (1.5 MB) Copy SHA256 Checksum SHA256 Source Oct 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting