Package pytils :: Package templatetags :: Module pytils_translit
[hide private]

Module pytils_translit

source code

pytils.translit templatetags for Django web-framework

Functions [hide private]
 
translify(stext)
Translify russian text
source code
 
detranslify(stext)
Detranslify russian text
source code
 
slugify(stext)
Make slug from (russian) text
source code
Variables [hide private]
  __revision__ = "$Id: pytils_translit.py 102 2007-07-12 12:33:3...
  __id__ = "$Id: pytils_translit.py 102 2007-07-12 12:33:36Z the...
  __url__ = "$URL: https://pythy.googlecode.com/svn/tags/pytils/...
  register = template.Library()
Django template tag/filter registrator
  encoding = conf.settings.DEFAULT_CHARSET
Current charset (sets in Django project's settings)
  debug = conf.settings.DEBUG
Debug mode (sets in Django project's settings)
  show_value = getattr(conf.settings, 'PYTILS_SHOW_VALUES_ON_ERR...
Show values on errors (sets in Django project's settings)
  default_value = ""
  default_uvalue = u""

Imports: django.template, django.conf, translit, utils


Variables Details [hide private]

__revision__

Value:
"$Id: pytils_translit.py 102 2007-07-12 12:33:36Z the.pythy $"

__id__

Value:
"$Id: pytils_translit.py 102 2007-07-12 12:33:36Z the.pythy $"

__url__

Value:
"$URL: https://pythy.googlecode.com/svn/tags/pytils/0_2_2/pytils/templ\
atetags/pytils_translit.py $"

show_value

Show values on errors (sets in Django project's settings)
Value:
getattr(conf.settings, 'PYTILS_SHOW_VALUES_ON_ERROR', False)