Source

pinyomi / pinyin / urls.py

# -*- coding: utf-8 -*-
#----------------------------------------------------------------------------#
# urls.py
# Lars Yencken <lars.yencken@gmail.com>
# vim: ts=4 sw=4 sts=4 et tw=78:
# Mon Dec 11 13:59:57 2006
#
#----------------------------------------------------------------------------#

"""
Urlconf for the pinyin app.
"""

#----------------------------------------------------------------------------#

from django.conf.urls.defaults import *

#----------------------------------------------------------------------------#

urlpatterns = patterns('pinyin.views',
    url(r'^$', 'index', name='pinyin_index'),
    url(r'^pinyin/$', 'japaneseLookup', name="pinyin_pinyin"),
    url(r'^pinyin/result/$', 'japaneseResult',
            name='pinyin_pinyinresult'),
    url(r'^kana/$', 'chineseLookup', name='pinyin_kana'),
    url(r'^kana/result/$', 'chineseResult', name='pinyin_kanaresult'),
)